AWS EKS | Notes
Download eksctl
wget -qO ~/Downloads/eksctl.tar.gz "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz"
tar xfz ~/Downloads/eksctl.tar.gz -C ~/Downloads/
mv ~/Downloads/eksctl ~/bin/
chmod u+x ~/bin/eksctl
Create a cluster
- Create a cluster
- Create without node group
- Create with OIDC support
Login
- Get kubeconfig
KUBECONFIG=~/.kube/config-tmp
CLUSTER_NAME=mrb-lab-topology
AWS_REGION=us-east-1
aws eks update-kubeconfig --region $AWS_REGION --name $CLUSTER_NAME --kubeconfig $KUBECONFIG
Auto-mode full acces
- Create a cluster with Auto-mode
CLUSTER_NAME=mrb-am
AWS_REGIOn=us-east-1
eksctl create cluster \
--name $CLUSTER_NAME \
--region $AWS_REGION \
--version 1.33 \
--enable-auto-mode \
--zones us-east-1a,us-east-1b \
--kubeconfig ~/.kube/eks
Access the cluster
Launch ML instances with Auto Mode
TODO