CmdID

CmdID / Commands

aws-eks

Manage Amazon Elastic Kubernetes Service (EKS) addons, clusters, and node groups. tldr-pages

On several platforms

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

Several platforms

from tldr-pages, CC BY 4.0

Manage Amazon Elastic Kubernetes Service (EKS) addons, clusters, and node groups. Amazon EKS is a service for easily running Kubernetes on AWS.

Create an EKS Cluster

aws eks create-cluster --name cluster_name --role-arn eks_service_role_arn --resources-vpc-config subnetIds=subnet_ids,securityGroupIds=security_group_idsIdentify
--nameThe unique name to give to your cluster. AWS CLI reference
--role-arnThe Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf. AWS CLI reference
--resources-vpc-configThe VPC configuration that's used by the cluster control plane. AWS CLI reference

Update kubeconfig to connect to the EKS Cluster

aws eks update-kubeconfig --name cluster_nameIdentify
--nameThe name of the cluster for which to create a kubeconfig entry. AWS CLI reference

List available EKS clusters

aws eks list-clustersIdentify

Describe EKS cluster details

aws eks describe-cluster --name cluster_nameIdentify
--nameThe name of your cluster. AWS CLI reference

Delete an EKS Cluster

aws eks delete-cluster --name cluster_nameIdentify
--nameThe name of the cluster to delete. AWS CLI reference

List nodegroups in an EKS cluster

aws eks list-nodegroups --cluster-name cluster_nameIdentify
--cluster-nameThe name of your cluster. AWS CLI reference

Describe nodegroup details

aws eks describe-nodegroup --cluster-name cluster_name --nodegroup-name nodegroup_nameIdentify
--cluster-nameThe name of your cluster. AWS CLI reference
--nodegroup-nameThe name of the node group to describe. AWS CLI reference