Created
May 23, 2015 16:07
-
-
Save sroze/76379c4eebe56f5fb162 to your computer and use it in GitHub Desktop.
Kubernetes proxy 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
PROXY_OPTIONS="--master=http://{MASTER_IP}:8080 --v=2" |
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 proxy" | |
script | |
PROXY_OPTIONS= | |
if [ -f /etc/default/$UPSTART_JOB ]; then | |
. /etc/default/$UPSTART_JOB | |
fi | |
exec "hyperkube" proxy $PROXY_OPTIONS | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment