mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Don't use scopes we don't need when creating VMs
This commit is contained in:
parent
e4e10eeb77
commit
c5683eb7f1
@ -78,7 +78,7 @@ gcloud compute instances create ${MASTER_NAME}\
|
||||
--machine-type ${MASTER_SIZE} \
|
||||
--image ${IMAGE} \
|
||||
--tags ${MASTER_TAG} \
|
||||
--scopes compute-rw storage-full \
|
||||
--no-scopes \
|
||||
--metadata-from-file startup-script=${KUBE_TEMP}/master-start.sh &
|
||||
|
||||
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
||||
@ -95,6 +95,7 @@ for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
||||
--machine-type ${MINION_SIZE} \
|
||||
--image ${IMAGE} \
|
||||
--tags ${MINION_TAG} \
|
||||
--no-scopes \
|
||||
--can-ip-forward \
|
||||
--metadata-from-file startup-script=${KUBE_TEMP}/minion-start-${i}.sh &
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user