Creates the EKS Auto Mode cluster along with required VPC subnets, NAT gateways, IAM, and core cluster outputs for later ordered roots.
Apply this first, before ../cluster-infra/.
If this is the first time you've setup this cluster, follow first time cluster setup
tofu init
# Apply requires admin (IAM roles are created)
AWS_PROFILE=codeorg-admin tofu applyConfigure kubectl to reach the new cluster:
$(tofu output -raw kubectl_config_command)- Tofu module
../../codeai-k8s-dexneeds to have been applied at least once (its shared by all clusters) - Run tofu apply:
AWS_PROFILE=codeorg-admin tofu apply
Takes a few minutes cause node bring-up is still not instant.
./test/test-pod-and-dns.sh