Skip to main content

EKS


Tags for subnet for LB to be created

  • private subnets - kubernetes.io/role/internal-elb value = 1
  • public subnets - kubernetes.io/role/elb value = 1

Ref: https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html


Provision EKS Cluster


create your kubeconfig file with the AWS CLI

aws eks update-kubeconfig --region region-code --name my-cluster

Connect to Cluster

AWS Load Balancer Controller

Troubleshooting:

vpcID must be specified otherwise pod fails to get EC2 instance metadata

AWS EKS Auto Mode

How to get eks config for kubectl

aws eks update-kubeconfig --region region-code --name my-cluster

Ref: https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html