Last active
October 4, 2017 23:43
-
-
Save seanknox/6eff8703ba7ae25dcf77e1a8e65a633a to your computer and use it in GitHub Desktop.
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 | |
# Use updated hyperkube image | |
export KUBE_VER="v1.7.7" | |
sed -i -e "[email protected]@${KUBE_VER}@g" /etc/systemd/system/kubelet.service | |
sed -i -e "[email protected]@${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 |
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 | |
export KUBE_VER="v1.7.7" | |
sed -i -e "[email protected]@${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