File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ NETWORK_TIER="network-tier=PREMIUM"
1313source scripts/vars.env
1414
1515# Create custom network and subnet if IPv6 is enabled
16+ # For IPv6, we create a dual-stack subnet with internal IPv6 addresses and external IPv4 addresses
1617if [ " ${IPV6_ENABLED} " = " true" ]; then
1718 echo " Creating IPv6 Network interface for the GKE cluster"
18- gcloud compute networks create ${RESOURCE_NAME} --subnet-mode=custom --bgp-routing- mode=regional --mtu=1460 --quiet
19+ gcloud compute networks create ${RESOURCE_NAME} --subnet-mode=custom --quiet # The --subnet- mode=custom flag allows us to create custom subnets
1920 gcloud compute networks subnets create ${RESOURCE_NAME} \
2021 --network=${RESOURCE_NAME} \
2122 --stack-type=IPV4_IPV6 \
You can’t perform that action at this time.
0 commit comments