Skip to content

Overview

Infra GitOps using RCTL

Users can perform actions on the cluster using config file to support GitOps work flows. For example, to scale the existing clusters, perform the required changes in the config yaml file and use the below apply command through RCTL

./rctl apply -f <cluster config file name>

Example:

./rctl apply -f demo-ekscluster-config.yaml

Operation Status

Once the changes are applied, a task id is provided for the applied task along with the operation details and the status Provision_Task_Status_Pending.

Use the below command to view the status of the task

./rctl status apply <task_id>

Supported Day-2 Operations

Users are allowed to perform only the below operations on Day 2 using the cluster config file:

  • Update Spot properties
  • Update Cloud provider
  • Update Blueprint and Blueprint versions
  • Update Cluster labels
  • Update Control plane endpoints
  • Add/scale/delete Node groups
  • Update Managed Node Group Labels and Tags
  • Upgrade Cluster K8s version
  • Upgrade select nodegroup with Custom AMI
  • Upgrade select nodegroup's K8s version

Important

Upgrading the AMI IDs and control plane versions together is not allowed. Also, upgrading multiple Nodegroup version and AMI Ids together is not allowed

Refer Infra GitOps using RCTL - Examples to know more on how to scale a cluster and the response received on RCTL and Controller