Tabla de Contenidos

eksctl

Cluster management

Creación

$ eksctl create cluster \
  --name prod \
  --region us-east-1 \
  --nodegroup-name standard-workers \
  --node-type t3.medium \
  --nodes 3 \
  --nodes-min 1 \
  --nodes-max 4 \
  --ssh-access \
  --ssh-public-key rpilas@emilia \
  --managed


 --managed      Create EKS-managed nodegroup

Otros parámetros:

  --external-dns-access   enable IAM policy for external-dns
  --full-ecr-access       enable full access to ECR
  --alb-ingress-access    enable full access for alb-ingress-controller

Listar

$ eksctl get cluster --region us-east-1
NAME	REGION
prod	us-east-1

Borrar

$ eksctl delete cluster \
  --name=prod \
  --region us-east-1

Credenciales

$ aws --region us-east-1 eks update-kubeconfig --name prod 

Referencias