mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Don't use scopes we don't need when creating VMs
This commit is contained in:
		@@ -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 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user