Skip to content

Instantly share code, notes, and snippets.

@seanknox
Last active October 4, 2017 23:43
Show Gist options
  • Save seanknox/6eff8703ba7ae25dcf77e1a8e65a633a to your computer and use it in GitHub Desktop.
Save seanknox/6eff8703ba7ae25dcf77e1a8e65a633a to your computer and use it in GitHub Desktop.
#!/bin/sh
# Use updated hyperkube image
export KUBE_VER="v1.7.7"
sed -i -e "s@v1.5.3@${KUBE_VER}@g" /etc/systemd/system/kubelet.service
sed -i -e "s@v1.5.3@${KUBE_VER}@g" /etc/kubernetes/manifests/*
# Use updated command line args for kubelet v1.6
sed -i -e "s@--config=@--pod-manifest-path=@g" /etc/systemd/system/kubelet.service
systemctl daemon-reload
systemctl restart kubelet
#!/bin/sh
export KUBE_VER="v1.7.7"
sed -i -e "s@v1.5.3@${KUBE_VER}@g" /etc/systemd/system/kubelet.service
sed -i -e "s@--config=@--pod-manifest-path=@g" /etc/systemd/system/kubelet.service
systemctl daemon-reload
systemctl restart kubelet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment