GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
654 stars 102 forks source link

Amazon EKS Kubernetes upgrade #4754

Open FuhuXia opened 6 months ago

FuhuXia commented 6 months ago

Received AWS Email notification requesting existing Amazon EKS Kubernetes 1.21 upgrade due to end of extended support of 1.21. If no action taken, they will be auto upgraded to 1.22 after July 15, 2024.

Sketch

Manually upgrade EKS Kubernetes from 1.21 to the latest available version. We have two EKS Kubernetes clusters, one in ssb-development and one in ssb-production, both on 1.21.

FuhuXia commented 6 months ago

Upgraded EKS Kubernetes cluster on ssb-development to 1.25 Upgraded EKS Kubernetes cluster on ssb-production to 1.23. When tried to upgrade it further, it complains

Nodegroups k8s-690fc34f7d51eacf-20220822174235688200000012
must be updated to match cluster version 1.23 before updating cluster version

Did not see any upgrade option on the AWS console to upgrade the Nodegroups. Maybe we need to use cli. Will deal with it when 1.23 is facing end of extended support.

Jin-Sun-tts commented 5 months ago

Amazon EKS Kubernetes 1.25 end of standard support, After May 1, 2025, Kubernetes 1.25 will no longer be supported on Amazon EKS, and all Amazon EKS clusters running on 1.25 will be automatically updated to Kubernetes version 1.26.

Jin-Sun-tts commented 5 months ago

also version 1.23 is facing end of extended support until October 11, 2024

Jin-Sun-tts commented 5 months ago

We may need to upgrade the node group with those steps in following doc: https://docs.aws.amazon.com/eks/latest/userguide/update-managed-node-group.html