Cluster (Auto Mode)
Skip this page if you already have a suitable cluster. Jump to Argo CD capability or Kueue via GitOps.
Set variables
Section titled “Set variables”Reuse the exports from Prerequisites. Work under demo/:
export AWS_PROFILE=sandboxexport CLUSTER_NAME=kueue-labexport AWS_REGION=ap-southeast-2export AWS_DEFAULT_REGION="$AWS_REGION"export IDC_REGION="$AWS_REGION"export K8S_VERSION=1.36cd "$LAB_DIR"Create the cluster config
Section titled “Create the cluster config”mkdir -p config
cat > config/cluster.yaml <<EOFapiVersion: eksctl.io/v1alpha5kind: ClusterConfig
metadata: name: ${CLUSTER_NAME} region: ${AWS_REGION} version: "${K8S_VERSION}"
autoModeConfig: enabled: trueEOF
cat config/cluster.yamlAuto Mode enables default system and general-purpose node pools. You do not manage managed node groups for this lab. Nodes appear when workloads need capacity — not necessarily right after create.
Create the cluster
Section titled “Create the cluster”eksctl create cluster -f config/cluster.yamlExpect roughly 10–20 minutes for a new VPC and control plane. eksctl also installs the metrics-server addon and writes a kubeconfig entry when the cluster is ready.
Configure kubectl
Section titled “Configure kubectl”aws eks update-kubeconfig --name "$CLUSTER_NAME" --region "$AWS_REGION"kubectl get nodesAn empty node list (No resources found) is normal for a fresh Auto Mode cluster. Nodes scale in when Jobs (or other pods) are scheduled.
Verify Auto Mode
Section titled “Verify Auto Mode”aws eks describe-cluster --name "$CLUSTER_NAME" --region "$AWS_REGION" \ --query 'cluster.{version:version,status:status,compute:computeConfig}'Expect status ACTIVE, version 1.36, and compute.enabled true with node pools such as general-purpose and system.
Next: Argo CD capability (optional) or Kueue via GitOps.