Skip to content

Commit d6998a8

Browse files
committed
Add network to cluster creation
1 parent 9b5e541 commit d6998a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/scripts/create-gke-cluster.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ gcloud container clusters create "${GKE_CLUSTER_NAME}" \
4646
--machine-type "${GKE_MACHINE_TYPE}" \
4747
--num-nodes "${GKE_NUM_NODES}" \
4848
--no-enable-insecure-kubelet-readonly-port \
49+
--network=${GKE_CLUSTER_NAME}-network \
4950
--subnetwork=${GKE_CLUSTER_NAME}-subnet
5051

5152
# Add current IP to GKE master control node access, if this script is not invoked during a CI run.

0 commit comments

Comments
 (0)