Skip to content

Commit da43295

Browse files
note global vs regional; notes on special subnet [skip ci]
Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
1 parent 87ce778 commit da43295

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

cluster/pulumi/infra/src/gcpLoadBalancer.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,25 @@ you need to add the CRD; on a cncluster-controlled dev cluster directory you can
1414
gcloud container clusters update "cn-${GCP_CLUSTER_BASENAME}net" --gateway-api=standard
1515
*/
1616

17+
/* TODO (#2723)
18+
19+
Highest subnet in 10.x in cn-*net currently is 10.232.0.0/20.
20+
Range can be expanded but not shrunk; doc recommends starting with /23:
21+
https://docs.cloud.google.com/load-balancing/docs/proxy-only-subnets#proxy-subnet-size
22+
23+
1. Create a proxy-only subnet in the GKE cluster's region (us-central1) and VPC:
24+
gcloud compute networks subnets create proxy-only-subnet \
25+
--purpose=REGIONAL_MANAGED_PROXY \
26+
--role=ACTIVE \
27+
--region=$CLOUDSDK_COMPUTE_REGION \
28+
--network=default \
29+
--range=10.233.0.0/23
30+
*/
31+
1732
// possible values and their meaning: https://docs.cloud.google.com/kubernetes-engine/docs/concepts/gateway-api#gatewayclass
33+
// global vs regional:
34+
// - the ingressAddress must match
35+
// - the SecurityPolicy must match
1836
const gcpGatewayClass = 'gke-l7-regional-external-managed';
1937

2038
interface L7GatewayConfig {

0 commit comments

Comments
 (0)