Pod and service subnet configuration

You can set the CIDR for the Pods subnet and Services subnet under spec.clusterNetwork :

yaml
clusterNetwork: services: cidrBlocks: ["10.128.0.0/12"] pods: cidrBlocks: ["192.168.0.0/16"]

The cidrBlocks parameters expect an array of strings in IPv4 CIDR notation. The subnets can't have conflicting addresses and must be in the Private IPv4 ranges described by RFC 1918.

You can also configure the domain for your services in the spec.clusterNetwork section:

yaml
clusterNetwork: serviceDomain: "cluster.local"
Previous
Configuring a Hetzner Load Balancer
Next
Using Cluster Autoscaler