GKE CIDR Planner
// VPC-Native Flat Network · Exact minimum ranges · Full calculation shown
Cluster Configuration
VPC
Node subnet AND Pod range carved from this
Node Planning
Pod CIDR is permanent — size for this
Pod Planning
Both constraints evaluated — larger one wins
Service Planning
Control Plane
Must be exactly /28 (16 IPs) — permanent, never changes
GKE IP Allocation Rules
NODE CIDR — carved from VPC start
→ 1 IP per node
→ GCP reserves 4 IPs per subnet:
.0 network address
.1 default gateway
.n-1 reserved (GCP future use)
.n broadcast address
POD CIDR — two options:
① Carved from VPC after node subnet (default)
→ If fits in VPC → use VPC range ✅
→ If doesn't fit → ERROR ❌
② RFC6598 100.64.0.0/x (checkbox)
→ Independent of VPC primary range
→ Safe, won't clash with RFC1918
Two constraints, take MAX:
C1 = future_nodes × block_per_node
C2 = total_pods_in_cluster
SERVICE CIDR — outside VPC
→ 1 IP per ClusterIP service
→ Uses 10.96.0.0/x (k8s standard)
CONTROL PLANE CIDR
→ Must be exactly /28 (16 IPs)
→ GKE manages the control plane
→ Permanent — cannot change ever
→ Must not overlap any other range
🚨 Pod, Service and Control Plane CIDRs are permanent after cluster creation.
Step-by-Step Calculation