Skip to content

Commit 47d9994

Browse files
committed
Add --create-subnetwork field as setting ipv6 access type is supported only with this option
1 parent 8bf6aa3 commit 47d9994

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
@@ -34,6 +34,7 @@ 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
3738

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

0 commit comments

Comments
 (0)