> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siderolabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

> KubeNetworkConfig configures Kubernetes base network settings.

# KubeNetworkConfig

```yaml theme={null}
apiVersion: v1alpha1
kind: KubeNetworkConfig
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
# The pod subnet (CIDR), this can be a single value or two values for dual-stack clusters.
podSubnets:
    - 10.244.0.0/16
# The service subnet (CIDR), this can be a single value or two values for dual-stack clusters.
serviceSubnets:
    - 10.96.0.0/12
```

```yaml theme={null}
apiVersion: v1alpha1
kind: KubeNetworkConfig
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
# The pod subnet (CIDR), this can be a single value or two values for dual-stack clusters.
podSubnets:
    - fc00:db8:10::/56
# The service subnet (CIDR), this can be a single value or two values for dual-stack clusters.
serviceSubnets:
    - fc00:db8:20::/112
```

```yaml theme={null}
apiVersion: v1alpha1
kind: KubeNetworkConfig
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
# The pod subnet (CIDR), this can be a single value or two values for dual-stack clusters.
podSubnets:
    - 10.244.0.0/16
    - fc00:db8:10::/56
# The service subnet (CIDR), this can be a single value or two values for dual-stack clusters.
serviceSubnets:
    - 10.96.0.0/12
    - fc00:db8:20::/112
```

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
      <th>Value(s)</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`dnsDomain`</td>
      <td>string</td>
      <td>The domain used by Kubernetes DNS.<br />The default is `cluster.local`</td>

      <td />
    </tr>

    <tr>
      <td>`podSubnets`</td>
      <td>\[]Prefix</td>
      <td>The pod subnet (CIDR), this can be a single value or two values for dual-stack clusters.</td>

      <td />
    </tr>

    <tr>
      <td>`serviceSubnets`</td>
      <td>\[]Prefix</td>
      <td>The service subnet (CIDR), this can be a single value or two values for dual-stack clusters.</td>

      <td />
    </tr>

    <tr>
      <td>`nodeCIDRMaskSizeIPv4`</td>
      <td>int</td>
      <td>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.<br />The default is `24`.<br />Must be between 1 and 32.</td>

      <td />
    </tr>

    <tr>
      <td>`nodeCIDRMaskSizeIPv6`</td>
      <td>int</td>
      <td>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.<br />The default is `64`.<br />Must be between 1 and 128.</td>

      <td />
    </tr>
  </tbody>
</table>
