Skip to content

Automode cli instructions #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sdarwin opened this issue Apr 4, 2025 · 2 comments
Open

Automode cli instructions #966

sdarwin opened this issue Apr 4, 2025 · 2 comments
Assignees

Comments

@sdarwin
Copy link

sdarwin commented Apr 4, 2025

On this page "Create an EKS Auto Mode Cluster with the AWS CLI"

https://docs.aws.amazon.com/eks/latest/userguide/automode-get-started-cli.html

It mentions ${SUBNETS_JSON} exactly once. There are no instructions about the JSON formatting of ${SUBNETS_JSON}. Of course it will be composed of subnet ids, but how should the quoting and brackets look?

Maybe this is explained on another page of docs. But if I have just arrived here from Google, with the intention to "Create an EKS Auto Mode Cluster with the AWS CLI", it would be nice to include in the example on the same page.

@sdarwin
Copy link
Author

sdarwin commented Apr 4, 2025

Another thing about this page... I was sort of expecting to see a parameter such as aws eks create-cluster --enable-auto-mode which shows how --auto-mode is enabled.

It's fine that is not required.

But then, how about adding some text such as:

Enabling Auto Mode: As long as accessConfig=API in the create-cluster command, Auto Mode will be automatically selected.

or

Enabling Auto Mode: When you specify Node Pools, Auto Mode will be automatically enabled.

Or, whatever the explanation is.

@fincd-aws fincd-aws self-assigned this Apr 7, 2025
@fincd-aws
Copy link
Contributor

Thanks! We definitely should show the JSON.

Auto Mode doesn't have one parameter like that, at the moment there are 3 parts/sub-features (computeConfig, elasticLoadbalancing and storageConfig) and all are required:

  \"computeConfig\": {
        \"enabled\": true,
        \"nodeRoleArn\":\"${NODE_ROLE_ARN}\",
        \"nodePools\": [\"general-purpose\", \"system\"]
      },
      \"kubernetesNetworkConfig\": {
        \"elasticLoadBalancing\": {
          \"enabled\": true
        }
      },
      \"storageConfig\": {
        \"blockStorage\": {
          \"enabled\": true
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants