amazon-eks-user-guide icon indicating copy to clipboard operation
amazon-eks-user-guide copied to clipboard

Command to update Auto-Mode doesn't work

Open Ramneek-kalra opened this issue 8 months ago • 0 comments

Command to update Auto-Mode doesn't work

Page Title: Enable EKS Auto Mode on an existing cluster > Procedure (Link: https://docs.aws.amazon.com/eks/latest/userguide/auto-enable-existing.html#_cli)

aws eks update-cluster-config
--name $CLUSTER_NAME
--compute-config enabled=true
--kubernetes-network-config '{"elasticLoadBalancing":{"enabled": true}}'
--storage-config '{"blockStorage":{"enabled": true}}'

CLI (Latest AWS CLI Version) drops the command throws error saying "--compute-config enabled=true" not found. Though the CLI Doc - https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-cluster-config.html says, we can use it in curly braces, but that too doesn't work.

Please help to rectify with the right command.

Ramneek-kalra avatar Mar 12 '25 20:03 Ramneek-kalra