AWS EKS: How to Add, Delete, Scale nodeGroups using eksctl in EKS

Опубликовано: 11 Октябрь 2024
на канале: ThikHai
777
8

AWS EKS: How to Add, Delete, Scale nodeGroups using eksctl in EKS

in this video we are going to demo the most frequently used eksctl command to configure our EKS node groups.

eksctl command to list node group:
eksctl get nodegroup --cluster eks-basic-cluster

eksctl command to add node group:
eksctl create nodegroup --config-file=cluster.yaml
eksctl create nodegroup --config-file=cluster.yaml --exclude=ng-1

eksctl command to scale node group:
eksctl scale nodegroup --cluster=eks-basic-cluster --nodes=2 --name=ng-1 --nodes-min=1 --nodes-max=3

eksctl command to delete node group:
eksctl delete nodegroup --config-file=cluster.yaml --include=ng-2
eksctl delete nodegroup --config-file=cluster.yaml --include=ng-2 --approve