Skip to content

Instantly share code, notes, and snippets.

@reubenavery
Last active October 17, 2019 18:57
Show Gist options
  • Save reubenavery/419105e6ae4222700b45eef13aa9225d to your computer and use it in GitHub Desktop.
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
#!/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