Add load balancing support to services.
This commit is contained in:
@@ -75,7 +75,7 @@ gcutil addinstance ${MASTER_NAME}\
|
||||
--image ${IMAGE} \
|
||||
--tags ${MASTER_TAG} \
|
||||
--network ${NETWORK} \
|
||||
--service_account_scopes="storage-ro" \
|
||||
--service_account_scopes="storage-ro,compute-rw" \
|
||||
--automatic_restart \
|
||||
--metadata_from_file startup-script:${KUBE_TEMP}/master-start.sh &
|
||||
|
||||
|
@@ -17,7 +17,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="The Kubernetes API server"
|
||||
NAME=apiserver
|
||||
DAEMON=/usr/local/bin/apiserver
|
||||
DAEMON_ARGS=""
|
||||
DAEMON_ARGS="-cloud_provider gce "
|
||||
DAEMON_LOG_FILE=/var/log/$NAME.log
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
Reference in New Issue
Block a user