Skip to content

Commit 0248e0d

Browse files
committed
Add additional comments to scripts
1 parent fb5f68d commit 0248e0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/scripts/create-and-setup-gcp-vm.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ NETWORK_TIER="network-tier=PREMIUM"
1313
source 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
1617
if [ "${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 \

0 commit comments

Comments
 (0)