Workflow: operatorhub

Installs a cluster with a default configuration on AWS, install an optional operator using the input package and channel from the OperatorHub.

Pre Steps

Name Description
ipi-aws-pre The IPI setup step contains all steps that provision an OpenShift cluster with a default configuration on AWS.
operatorhub-subscribe The subscribe step installs an optional operator on the OperatorHub from a provided package and channel.

Test Steps

No test steps configured.

Post Steps

Name Description
ipi-aws-post The IPI cleanup step contains all steps that gather and deprovision an OpenShift cluster on AWS, provisioned by the `ipi-aws-pre` chain.

Dependencies

Image Exposed As Override[?] Required By Steps
release:latest OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE no ipi-install-install
RELEASE_IMAGE_LATEST no ipi-install-install

Environment

In addition to the default environment, the following variables are consumed through this workflow

Variable Name Variable Content Consumed By Steps
BASE_DOMAIN A fully-qualified domain or subdomain name. The base domain of the cloud provider is used for setting baseDomain variable of the install configuration of the cluster. (default: origin-ci-int-aws.dev.rhcloud.com) ipi-conf-aws
CHANNEL The channel from which to install the package. operatorhub-subscribe
COMPUTE_NODE_TYPE The instance type to use for compute nodes (e.g. AWS https://aws.amazon.com/ec2/instance-types/). We use a 4 core worker to match the median configuration of the fleet. (default: m5.xlarge) ipi-conf-aws
FIPS_ENABLED (default: false) ipi-conf
INSTALL_NAMESAPCE The namespace into which the operator and catalog will be installed. If empty, a new namespace will be created. operatorhub-subscribe
OPENSHIFT_INSTALL_EXPERIMENTAL_DUAL_STACK Using experimental Azure dual-stack support (default: false) ipi-install-install
OPENSHIFT_INSTALL_PRESERVE_BOOTSTRAP Keep bootstrap resources after install. Warning: this should only be used for debugging purposes, and poses a risk to cluster stability. ipi-install-install
PACKAGE The package name of the optional operator to install. operatorhub-subscribe
SIZE_VARIANT The size of the cluster in one of our supported t-shirt values that is standard across all CI environments. The sizes are: * "" (default) - 4 vCPU, 16GB control plane nodes, default workers * "compact" - 8 vCPU, 32GB control plane nodes, no workers * "large" - 16 vCPU, 64GB+ control plane nodes, default workers, suitable for clusters up to 250 nodes * "xlarge" - 32 vCPU, 128GB+ control plane nodes, default workers, suitable for clusters up to 1000 nodes These sizes are roughly consistent across all cloud providers, but we may not be able to instantiate some sizes in some regions or accounts due to quota issues. ipi-conf-aws
TARGET_NAMESPACES A comma-separated list of namespaces the operator will target. If empty, all namespaces will be targeted. If no OperatorGroup exists in $OO_INSTALL_NAMESPACE, a new one will be created with its target namespaces set to $OO_TARGET_NAMESPACES, otherwise the existing OperatorGroup's target namespace set will be replaced. The special value "!install" will set the target namespace to the operator's installation namespace. operatorhub-subscribe
TMPDIR A pathname of a directory made available for programs that need a place to create temporary files. (default: /tmp) gather-aws-console
ZONES_COUNT The number of Availability Zones to present in the cluster. This depends on the selected region. (default: 2) ipi-conf-aws

Step Graph

Webreg Workflow "operatorhub" cluster_3 Pre cluster_2 ipi-aws-pre cluster_0 ipi-conf-aws cluster_1 ipi-install cluster_4 Test cluster_8 Post cluster_7 ipi-aws-post cluster_6 ipi-deprovision cluster_5 gather 0 ipi-conf 1 ipi-conf-aws 0->1 2 ipi-install-monitoringpvc 1->2 3 ipi-install-rbac 2->3 4 openshift-cluster-bot-rbac 3->4 5 ipi-install-install 4->5 6 ipi-install-times-collection 5->6 7 operatorhub-subscribe 6->7 8 Intentionally left blank 7->8 9 gather-aws-console 8->9 10 gather-must-gather 9->10 11 gather-extra 10->11 12 gather-audit-logs 11->12 13 ipi-deprovision-deprovision 12->13

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/operatorhub/operatorhub-workflow.yaml

Owners:

Approvers:

Source code for this page located on GitHub