10.96.0.0/12 (Kubernetes Service CIDR (kubeadm default))
PrivateRFC 1918
10.96.0.0/12 at a glance
| CIDR block | 10.96.0.0/12 |
|---|---|
| First address | 10.96.0.0 |
| Last address | 10.111.255.255 |
| Total addresses | 1,048,576 |
| Subnet mask | 255.240.0.0 |
| Prefix length | /12 |
| Type | Private |
| Publicly routable | No |
| Defined in | RFC 1918 |
Open in CIDR calculator/12 subnet details
What is 10.96.0.0/12 used for?
10.96.0.0/12 is the default service CIDR that kubeadm uses for Kubernetes ClusterIP services (--service-cidr). The kubernetes API service gets the first address, 10.96.0.1, and CoreDNS is usually 10.96.0.10. It must not overlap with the pod network or with node and VPC subnets.
Common subnets of 10.96.0.0/12
Overlaps and conflicts
- Inside 10.0.0.0/8
FAQ
What is 10.96.0.1 in Kubernetes?
The ClusterIP of the kubernetes service in the default namespace, which points to the API server. It is the first address of the service CIDR.
Can I change the Kubernetes service CIDR after the cluster is created?
Not easily. It is set with --service-cidr at kubeadm init; changing it later means reconfiguring the API server and recreating services. Choose a range that does not overlap your network before you create the cluster.