website/content/v1.14/reference/configuration/kubernetes/kubenetworkconfig.md
{{< highlight yaml >}} apiVersion: v1alpha1 kind: KubeNetworkConfig dnsDomain: cluster.local # The domain used by Kubernetes DNS.
podSubnets: - 10.244.0.0/16
serviceSubnets: - 10.96.0.0/12 {{< /highlight >}}
{{< highlight yaml >}} apiVersion: v1alpha1 kind: KubeNetworkConfig dnsDomain: cluster.local # The domain used by Kubernetes DNS.
podSubnets: - fc00:db8:10::/56
serviceSubnets: - fc00:db8:20::/112 {{< /highlight >}}
{{< highlight yaml >}} apiVersion: v1alpha1 kind: KubeNetworkConfig dnsDomain: cluster.local # The domain used by Kubernetes DNS.
podSubnets: - 10.244.0.0/16 - fc00:db8:10::/56
serviceSubnets: - 10.96.0.0/12 - fc00:db8:20::/112 {{< /highlight >}}
| Field | Type | Description | Value(s) |
|---|---|---|---|
dnsDomain | string | The domain used by Kubernetes DNS. | |
The default is cluster.local | |||
podSubnets | []Prefix | The pod subnet (CIDR), this can be a single value or two values for dual-stack clusters. | |
serviceSubnets | []Prefix | The service subnet (CIDR), this can be a single value or two values for dual-stack clusters. | |
nodeCIDRMaskSizeIPv4 | int | The IPv4 per-node pod CIDR mask size, i.e. the size of the pod CIDR allocated to each node, from the IPv4 pod subnet. | |
The default is 24. | |||
| Must be between 1 and 32. | |||
nodeCIDRMaskSizeIPv6 | int | The IPv6 per-node pod CIDR mask size, i.e. the size of the pod CIDR allocated to each node, from the IPv6 pod subnet. | |
The default is 64. | |||
| Must be between 1 and 128. |