1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
| $ eksctl get nodegroup --cluster eks-lexing --profile eks-us-west-2 CLUSTER NODEGROUP STATUS CREATED MIN SIZE MAX SIZE DESIRED CAPACITY INSTANCE TYPE IMAGE ID ASG NAME TYPE eks-lexing ng-4d9024eb ACTIVE 2023-06-28T06:30:03Z 2 2 m5.large AL2_x86_64 eks-ng-4d9024eb-20c48058-e974-c6ec-786a-516c31131604 managed
$ aws eks describe-nodegroup --cluster-name eks-lexing --profile eks-us-west-2 --nodegroup-name ng-4d9024eb --query 'nodegroup.version' --output text 1.25
$ k get node -owide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME ip-192-168-25-29.us-west-2.compute.internal Ready <none> 28h v1.25.9-eks-0a21954 192.168.25.29 35.87.26.4 Amazon Linux 2 5.10.179-168.710.amzn2.x86_64 containerd://1.6.19 ip-192-168-47-168.us-west-2.compute.internal Ready <none> 28h v1.25.9-eks-0a21954 192.168.47.168 54.185.178.28 Amazon Linux 2 5.10.179-168.710.amzn2.x86_64 containerd://1.6.19
$ eksctl upgrade nodegroup --name=ng-4d9024eb --cluster=eks-lexing --profile=eks-us-west-2 --kubernetes-version=1.26 2023-06-29 19:31:24 [ℹ] setting ForceUpdateEnabled value to false 2023-06-29 19:31:24 [ℹ] updating nodegroup stack 2023-06-29 19:31:26 [ℹ] waiting for CloudFormation changeset "eksctl-update-nodegroup-1688038284" for stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:31:57 [ℹ] waiting for CloudFormation changeset "eksctl-update-nodegroup-1688038284" for stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:31:58 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:32:29 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:32:30 [ℹ] upgrading nodegroup version 2023-06-29 19:32:30 [ℹ] updating nodegroup stack 2023-06-29 19:32:31 [ℹ] waiting for CloudFormation changeset "eksctl-update-nodegroup-1688038350" for stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:33:03 [ℹ] waiting for CloudFormation changeset "eksctl-update-nodegroup-1688038350" for stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:33:04 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:33:35 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:34:33 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:36:24 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:38:11 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:39:11 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:39:58 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:41:28 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:43:27 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:44:26 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:45:48 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:47:06 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:48:35 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:50:04 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:50:44 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:51:57 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:53:36 [ℹ] waiting for CloudFormation stack "eksctl-eks-lexing-nodegroup-ng-4d9024eb" 2023-06-29 19:53:36 [ℹ] nodegroup successfully upgraded
$ aws eks describe-nodegroup --cluster-name eks-lexing --profile eks-us-west-2 --nodegroup-name ng-4d9024eb --query 'nodegroup.version' --output text 1.26
$ k get node -owide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME ip-192-168-48-14.us-west-2.compute.internal Ready <none> 20m v1.26.4-eks-0a21954 192.168.48.14 54.212.74.15 Amazon Linux 2 5.10.179-168.710.amzn2.x86_64 containerd://1.6.19 ip-192-168-69-81.us-west-2.compute.internal Ready <none> 21m v1.26.4-eks-0a21954 192.168.69.81 44.242.163.187 Amazon Linux 2 5.10.179-168.710.amzn2.x86_64 containerd://1.6.19
|