Notes
open one at a time
1.What it can cause
The internal load balancer cannot be built, so internal callers keep reaching services by instance address, with no health checks between them.
- The internal load balancer cannot be built, so internal callers keep reaching services by instance address, with no health checks between them.
- D13 and D14 cannot start until it exists, so the load balancer's later fixes queue behind a subnet nobody created.
2.Why it is wrong
Subnets have purposes. A regional proxy load balancer needs a subnet reserved for Google’s proxies that holds none of your own resources.
Regional load balancer proxies need a subnet of their own, reserved for them and holding none of your resources. It is invisible until the create command fails with a message that does not obviously say this.
The idea
Subnets have purposes. A regional proxy load balancer needs a subnet reserved for Google’s proxies that holds none of your own resources.
Learn it
3.How you would find it
gcloud compute networks subnets list --filter="purpose=REGIONAL_MANAGED_PROXY" --format="table(name,region,ipCidrRange,purpose,role)"
gcloud compute networks subnets list \ --filter="purpose=REGIONAL_MANAGED_PROXY" \ --format="table(name,region,ipCidrRange,purpose,role)"4.The change that closes it
sn-a-proxy at 10.10.250.0/24 with purpose REGIONAL_MANAGED_PROXY.
- As found
- sn-a-proxy does not exist. Creating the forwarding rule fails.
- Fixed
- sn-a-proxy at 10.10.250.0/24 with purpose REGIONAL_MANAGED_PROXY.
gcloud compute networks subnets create sn-a-proxy \ --network=harbour-vpc --region=asia-southeast1 \ --range=10.10.250.0/24 \ --purpose=REGIONAL_MANAGED_PROXY --role=ACTIVE