Skip to content

Instantly share code, notes, and snippets.

@sroze
Created May 23, 2015 16:07
Show Gist options
  • Save sroze/76379c4eebe56f5fb162 to your computer and use it in GitHub Desktop.
Save sroze/76379c4eebe56f5fb162 to your computer and use it in GitHub Desktop.
Kubernetes proxy upstart
PROXY_OPTIONS="--master=http://{MASTER_IP}:8080 --v=2"
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