Last active
October 17, 2019 18:57
-
-
Save reubenavery/419105e6ae4222700b45eef13aa9225d to your computer and use it in GitHub Desktop.
upgrading kube-system components to be in line with EKS Kubernetes 1.14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Updating kube-system components to be aligned with stated requirements for EKS Kubernetes 1.14 | |
# See https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html | |
set -x | |
eksctl version | |
kubectl version --short | |
kubectl get nodes | |
# update kube-proxy | |
kubectl set image daemonset.apps/kube-proxy \ | |
-n kube-system \ | |
kube-proxy=602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/kube-proxy:v1.14.6 | |
# update kube-dns | |
kubectl set image --namespace kube-system deployment.apps/coredns \ | |
coredns=602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/coredns:v1.3.1 | |
# update VPC CNI driver aka aws-node | |
kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-1.5/config/v1.5/aws-k8s-cni.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment