Skip to content

Commit 084d841

Browse files
committed
Add --enable-dataplane-v2 option for cluster creation as Stack_type IPV4_IPV6 is supported only with advanced datapath.
1 parent 47d9994 commit 084d841

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/scripts/create-gke-cluster.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ 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+
--create-subnetwork name=${RESOURCE_NAME},range=/21 \
38+
--enable-dataplane-v2
3839

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

0 commit comments

Comments
 (0)