install eksctl
https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html
install kubectl
https://kubernetes.io/docs/tasks/tools/install-kubectl/
eksctl-cluster-ec2.yaml
time eksctl create cluster -f eksctl-cluster-ec2.yaml
basic eksctl
eksctl get cluster
eksctl get nodegroup --cluster my-cluster-ec2
eksctl scale nodegroup --cluster=my-cluster-ec2 --nodes=5 --name=ng-1
update nodegroups
eksctl create nodegroup --config-file=cluster-ec2.yaml --include='ng-mixed'
delete nodegroups
eksctl delete nodegroup --config-file=cluster-ec2.yaml --include='ng-mixed' --approve
Top comments (0)