CmdID

CmdID / aws / aws eks

aws eks list-nodegroups

Lists the managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Amazon Web Services Region. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list all the node groups in an Amazon EKS cluster

The following list-nodegroups example list all the node groups in an Amazon EKS cluster.

aws eks list-nodegroups --cluster-name my-eks-clusterIdentify
--cluster-nameThe name of your cluster.
Its output
{
    "nodegroups": [
        "my-eks-managed-node-group",
        "my-eks-nodegroup"
    ]
}

For more information, see Simplify node lifecycle with managed node groups in the Amazon EKS User Guide.

Options

3 in the AWS CLI reference
--cluster-nameThe name of your cluster.
--max-resultsThe maximum number of results, returned in paginated output.
--next-tokenThe nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter.