Skip to content

Commit 9a188de

Browse files
committed
Explicitly use pre made dual stack networks and subnets
1 parent 084d841 commit 9a188de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/scripts/create-gke-cluster.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ gcloud container clusters create "${GKE_CLUSTER_NAME}" \
3434
--no-enable-insecure-kubelet-readonly-port \
3535
--stack-type="${GKE_CLUSTER_STACK_TYPE}" \
3636
--ipv6-access-type="${GKE_CLUSTER_IPV6_ACCESS_TYPE}" \
37-
--create-subnetwork name=${RESOURCE_NAME},range=/21 \
37+
--network=us-ipv4-ipv6 \
38+
--subnetwork=us-ipv4-ipv6 \
3839
--enable-dataplane-v2
40+
# --create-subnetwork name=${RESOURCE_NAME},range=/21 \ ## Might need this later
3941

4042
# Add current IP to GKE master control node access, if this script is not invoked during a CI run.
4143
if [ "${IS_CI}" = "false" ]; then

0 commit comments

Comments
 (0)