Set 'auto restart' bit on VMs.

pull/6/head
Joe Beda 2014-06-08 07:31:12 -07:00
parent c5683eb7f1
commit 156ebe2ce2
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,7 @@ gcloud compute instances create ${MASTER_NAME}\
--image ${IMAGE} \
--tags ${MASTER_TAG} \
--no-scopes \
--restart-on-failure \
--metadata-from-file startup-script=${KUBE_TEMP}/master-start.sh &
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
@ -96,6 +97,7 @@ for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
--image ${IMAGE} \
--tags ${MINION_TAG} \
--no-scopes \
--restart-on-failure \
--can-ip-forward \
--metadata-from-file startup-script=${KUBE_TEMP}/minion-start-${i}.sh &