Workflow: upi-gcp

The UPI workflow provides pre- and post- steps that provision and deprovision an OpenShift cluster with a default configuration on GCP, allowing job authors to inject their own end-to-end test logic. All modifications to this workflow should be done by modifying the `upi-gcp-{pre,post}` chains to allow other workflows to mimic and extend this base workflow without a need to backport changes.

Pre Steps

Name Description
upi-gcp-pre This chain contains all of the steps to provision an OpenShift cluster using the GCP UPI workflow.

Test Steps

No test steps configured.

Post Steps

Name Description
upi-gcp-post This chain deprovisions all the components created by the upi-gcp-pre chain.

Dependencies

No step in this workflow sets dependencies.[?]

Environment

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

Variable Name Variable Content Consumed By Steps
COMPUTE_NODE_TYPE The instance type to use for compute nodes (e.g. GCP https://cloud.google.com/compute/docs/machine-types). We use a 4 core worker to match the median configuration of the fleet. (default: n1-standard-4) ipi-conf-gcp
CONTROL_PLANE_REPLICAS The number of control plane nodes to create for the cluster. This variable should only be supplied in consultation with the etcd team. The etcd operator has to explicitly support the specified number of control plane nodes and values not documented below will result in unhealthy and/or unsupportable clusters. Valid values include: * "" (default) - 3 control plane nodes. The standard for stand-alone clusters. * "1" - Supportable for single-node OpenShift (SNO). * "5" - Supportable only for select customers. (default: 3) ipi-conf-gcp
FIPS_ENABLED (default: false) ipi-conf
RT_ENABLED This flag forces the installation of real-time kernel to worker nodes. (default: false) ipi-conf-gcp
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-gcp

Step Graph

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

GitHub Link:

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

Owners:

Approvers:

Source code for this page located on GitHub