런치 템플릿 준비
컴포넌트 버전 조사
Amazon EKS Upgrade Journey From 1.26 to 1.27 (Chill Vibes)
Amazon EKS Upgrade Journey From 1.27 to 1.28- welcoming Planternetes
Amazon EKS Upgrade Journey From 1.28 to 1.29- say hello to “Mandala”
kubectl get eniconfig ap-northeast-2a -o yaml > eniconfig_a_240416
kubectl get eniconfig ap-northeast-2c -o yaml > eniconfig_c_240416
secondary network 확인 - k9s pods , eniconfig 확인
kubectl get eniconfig
기존 kubectl 버전 확인
kubectl version
1.23 → 1.29
curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.29.0/2024-01-04/bin/linux/amd64/kubectl
chmod +x ./kubectl
$PATH
설정which kubectl 의 결과로 나온 PATH 저장 cp ./kubectl {which kubectl의 결과로 나온 PATH}
{"env":{"AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG":"true"}}
kubectl -n kube-system set image deployment.apps/cluster-autoscaler cluster-autoscaler=registry.k8s.io/autoscaling/cluster-autoscaler:v1.29.0
kubectl describe deployment coredns -n kube-system | grep Image
kubectl set image deployment.apps/coredns -n kube-system coredns=602401143452.dkr.ecr.ap-northeast-2.amazonaws.com/eks/coredns:v1.11.1-eksbuild.6
kubectl describe deployment coredns -n kube-system | grep Image | cut -d ":" -f 3
kubectl describe daemonset kube-proxy -n kube-system | grep Image
kubectl set image daemonset.apps/kube-proxy -n kube-system kube-proxy=602401143452.dkr.ecr.ap-northeast-2.amazonaws.com/eks/kube-proxy:v1.27.10-minimal-eksbuild.2
kubectl describe daemonset kube-proxy -n kube-system | grep Image | cut -d ":" -f 3
Amazon VPC CNI(Add-ons) 업데이트시
Optional configuration settings > Configuration values 에 해당 사항 추가해줘야함
{"env":{"AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG":"true"}}