Step: shiftstack-monitor

Monitor resources on the CI clouds and publish metrics.

Container image used for this step: openstack-installer

openstack-installer resolves to an image built or imported by the ci-operator configuration (documentation).

Environment

In addition to the default environment, the step exposes the following:

Variable Name Type Variable Content
OS_CLOUD Parameter[?] (default: openstack)
CLUSTER_TYPE_OVERRIDE Parameter[?] This will override CLUSTER_TYPE in the `commands` file if set.

Source Code

1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

set -Eeuo pipefail

export OS_CLOUD
export OS_CLIENT_CONFIG_FILE="${SHARED_DIR}/clouds.yaml"
CLUSTER_TYPE="${CLUSTER_TYPE_OVERRIDE:-$CLUSTER_TYPE}"

./metrics.sh > "${SHARED_DIR}/metrics-${CLUSTER_TYPE}.txt"

Properties

Property Value Description
Resource requests (cpu) 1000m Used in .resources.requests of the pod running this step.
Resource requests (memory) 100Mi Used in .resources.requests of the pod running this step.

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/shiftstack/monitor/shiftstack-monitor-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub