AWS EKS example cluster configurations using eksctl
#Requirment
- Cluster with multi az
- Pod networking enabled
- Node labelling
- Ingress
- Serive type loadbalancers
- Deploy app with SSL
Others:
- Kubernetes dashboard
- vault integration
- AWS secret integartion
- IAM service accounts
Create Cluster:
eksctl create cluster -f eks-spot.yaml
List Cluster:
eksctl get clusters
ksctl delete nodegroup --cluster eks-spot-cluster ng1-public eksctl create nodegroup -f eks-spot.yaml eksctl create nodegroup --config-file=eks-spot.yaml --include='ng-spot' --exclude='ng1-public'## IAMaws sts get-caller-identity mapUsers: | - userarn: arn:aws:iam::790307344871:user/scriptcamp username: scriptcamp groups: - system:bootstrappers - system:nodesUpdate kubeconfig
aws eks update-kubeconfig --region us-west-2 --name eks-spot-cluster