amazon-eks-user-guide
amazon-eks-user-guide copied to clipboard
Command to update Auto-Mode doesn't work
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.