mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +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} \
|
--machine-type ${MASTER_SIZE} \
|
||||||
--image ${IMAGE} \
|
--image ${IMAGE} \
|
||||||
--tags ${MASTER_TAG} \
|
--tags ${MASTER_TAG} \
|
||||||
--scopes compute-rw storage-full \
|
--no-scopes \
|
||||||
--metadata-from-file startup-script=${KUBE_TEMP}/master-start.sh &
|
--metadata-from-file startup-script=${KUBE_TEMP}/master-start.sh &
|
||||||
|
|
||||||
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
||||||
@ -95,6 +95,7 @@ for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
|||||||
--machine-type ${MINION_SIZE} \
|
--machine-type ${MINION_SIZE} \
|
||||||
--image ${IMAGE} \
|
--image ${IMAGE} \
|
||||||
--tags ${MINION_TAG} \
|
--tags ${MINION_TAG} \
|
||||||
|
--no-scopes \
|
||||||
--can-ip-forward \
|
--can-ip-forward \
|
||||||
--metadata-from-file startup-script=${KUBE_TEMP}/minion-start-${i}.sh &
|
--metadata-from-file startup-script=${KUBE_TEMP}/minion-start-${i}.sh &
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user