Last active
September 17, 2019 02:53
-
-
Save sroze/b861e444db0c51d19fc7 to your computer and use it in GitHub Desktop.
Kuberlet upstart
This file contains 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
IP=127.0.0.1 # Or your public/private IP | |
KUBELET_OPTIONS="--api_servers=http://$IP:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=$IP --config=/etc/kubernetes/manifests" |
This file contains 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
KUBELET_OPTIONS="--api_servers=http://${MASTER_IP}:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=$(hostname)" |
This file contains 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
description "Kubernetes Kubelet" | |
script | |
KUBELET_OPTIONS= | |
if [ -f /etc/default/$UPSTART_JOB ]; then | |
. /etc/default/$UPSTART_JOB | |
fi | |
exec "hyperkube" kubelet $KUBELET_OPTIONS | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment