Enabling Autoscaling for an Existing Cluster
You can enable autoscaling for an existing OpenShift cluster with a new Autoscaler stack. These instructions assume you use the Assisted Installer.
Requirements for post-cluster autoscaling
Review the following requirements before configuring autoscaling.
Supported OpenShift versions
For post-cluster autoscaler configuration, use the latest create-autoscaler-operator stack. Autoscaling is supported on OpenShift Container Platform 4.22 and later. The RHCOS image used for autoscaled workers must match the OpenShift Container Platform minor version of the cluster.
Complete cluster installation
Complete the OpenShift installation before applying the autoscaler stack. For Assisted Installer clusters, complete the installation in Red Hat Hybrid Cloud Console. Autoscaled workers can't be provisioned until the cluster is installed and the autoscaling operator is running.
Existing network discovery requirements
During post-cluster autoscaler configuration, the Terraform stack requires the existing VCN and private OpenShift subnet. The stack discovers an NSG whose name matches .*lb.* and an API load balancer named <cluster_name>-openshift_api_lb. The stack doesn't provide an input for a third-party API load balancer OCID.
Install Autoscaling Operator
The procedure for installing the Autoscaling operator is similar to that for installing a new cluster.
Review Managing Autoscaling for validation and maintenance steps.