GCP-Network¶
Imported from Confluence
Content may be outdated. Verify before following any procedures. View original | Last updated: November 2022
Reserved CIDR Blocks:
Please use reserved block from this 👆 google sheet!¶
Recommendation for choosing range and the size of subnets use this:
- Primary Subnet Ranges can be expanded as needed, but never shrunk (they would need to be recreated)
- Secondary Subnet Ranges are hard-set and would need to be recreated if any changes are required
- TheControl PlaneCIDR can overlap between VPC but NOT within a VPC. To help reserve the right number of CIDRs, ask: What’s the maximum number of clusters that will exist in a VPC? and reserve (On an IPAM DB or Spreadsheet) that number of
/28addresses for that VPC. -
GKE Clusters on the same Primary Subnet, can use the same Secondary Pod IPs, but NOT Secondary Service IPs; it would have to be unique.
-
GKE Cluster IP Reservation strategy can be found here:
- How many Nodes can exist within a CIDR?
- How to choose the right Subnet(s) for Pods?
- How to choose the right Subnet(s) for Services?