LinuxCommandLibrary

eksctl

AWS EKS cluster management CLI

TLDR

Create EKS cluster

$ eksctl create cluster --name [cluster_name]
copy
Create with node configuration
$ eksctl create cluster --name [name] --nodes [3] --node-type [t3.medium]
copy
List clusters
$ eksctl get clusters
copy
Delete cluster
$ eksctl delete cluster --name [cluster_name]
copy
Create nodegroup
$ eksctl create nodegroup --cluster [name] --name [ng-name]
copy
Scale nodegroup
$ eksctl scale nodegroup --cluster [name] --name [ng-name] --nodes [5]
copy
Update kubeconfig
$ eksctl utils write-kubeconfig --cluster [name]
copy

SYNOPSIS

eksctl command [options]

DESCRIPTION

eksctl is the official CLI for Amazon EKS (Elastic Kubernetes Service). It simplifies creating, managing, and deleting EKS clusters and their associated resources.
The tool handles the complex AWS infrastructure setup including VPCs, subnets, security groups, and IAM roles. Clusters can be defined declaratively with YAML configurations.
eksctl supports advanced features like managed node groups, Fargate profiles, and cluster upgrades.

PARAMETERS

COMMAND

Operation: create, get, delete, scale, upgrade, etc.
create cluster --name NAME
Create new EKS cluster.
--nodes N
Number of worker nodes.
--node-type TYPE
EC2 instance type for nodes.
--region REGION
AWS region.
delete cluster --name NAME
Delete cluster.
get clusters
List clusters.
--help
Display help information.

CAVEATS

AWS credentials required. Cluster creation takes time. Incurs AWS charges. Some operations require specific IAM permissions.

HISTORY

eksctl was created by Weaveworks in partnership with AWS, released in 2018 to simplify EKS cluster management. It became the official CLI tool for EKS.

SEE ALSO

kubectl(1), aws(1), helm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community