> ## Documentation Index
> Fetch the complete documentation index at: https://siderolabs-fe86397c-1-11-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Config defines the v1alpha1.Config Talos machine configuration document.

# Config

```yaml
version: v1alpha1
machine: # ...
cluster: # ...
```

| Field     | Type                                        | Description                                                                                                                                                                                                                                                                     | Value(s)                                       |
| --------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| `version` | string                                      | Indicates the schema used to decode the contents.                                                                                                                                                                                                                               | `v1alpha1`<br />                               |
| `debug`   | bool                                        | <details><summary>Enable verbose logging to the console.</summary>All system containers logs will flow into serial console.<br /><br />**Note:** To avoid breaking Talos bootstrap flow enable this option only if serial console can handle high message throughput.</details> | `true`<br />`yes`<br />`false`<br />`no`<br /> |
| `machine` | <a href="#Config.machine">MachineConfig</a> | Provides machine specific configuration options.                                                                                                                                                                                                                                |                                                |
| `cluster` | <a href="#Config.cluster">ClusterConfig</a> | Provides cluster specific configuration options.                                                                                                                                                                                                                                |                                                |

## machine

MachineConfig represents the machine-specific config values.

```yaml
machine:
    type: controlplane
    # InstallConfig represents the installation options for preparing a node.
    install:
        disk: /dev/sda # The disk used for installations.
        # Allows for supplying extra kernel args via the bootloader.
        extraKernelArgs:
            - console=ttyS1
            - panic=10
        image: ghcr.io/siderolabs/installer:latest # Allows for supplying the image used to perform the installation.
        wipe: false # Indicates if the installation disk should be wiped at installation time.

        # # Look up disk using disk attributes like model, size, serial and others.
        # diskSelector:
        #     size: 4GB # Disk size.
        #     model: WDC* # Disk model `/sys/block/<dev>/device/model`.
        #     busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0 # Disk bus path.
```

| Field                      | Type                                                                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Value(s)                                                                                                                   |
| -------------------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `type`                     | string                                                                        | <details><summary>Defines the role of the machine within the cluster.</summary><br />**Control Plane**<br /><br />Control Plane node type designates the node as a control plane member.<br />This means it will host etcd along with the Kubernetes controlplane components such as API Server, Controller Manager, Scheduler.<br /><br />**Worker**<br /><br />Worker node type designates the node as a worker node.<br />This means it will be an available compute node for scheduling workloads.<br /><br />This node type was previously known as "join"; that value is still supported but deprecated.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `controlplane`<br />`worker`<br />                                                                                         |
| `token`                    | string                                                                        | <details><summary>The `token` is used by a machine to join the PKI of the cluster.</summary>Using this token, a machine will create a certificate signing request (CSR), and request a certificate that will be used as its' identity.</details> <details><summary>Show example(s)</summary>`token: 328hom.uqjzh6jnn2eie9oi`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                            |
| `ca`                       | PEMEncodedCertificateAndKey                                                   | <details><summary>The root certificate authority of the PKI.</summary>It is composed of a base64 encoded `crt` and `key`.</details> <details><summary>Show example(s)</summary>`ca:`<br />`  crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`  key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                            |
| `acceptedCAs`              | \[]PEMEncodedCertificate                                                      | <details><summary>The certificates issued by certificate authorities are accepted in addition to issuing 'ca'.</summary>It is composed of a base64 encoded `crt`.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                            |
| `certSANs`                 | \[]string                                                                     | <details><summary>Extra certificate subject alternative names for the machine's certificate.</summary>By default, all non-loopback interface IPs are automatically added to the certificate's SANs.</details> <details><summary>Show example(s)</summary>`certSANs:`<br />`  - 10.0.0.10`<br />`  - 172.16.0.10`<br />`  - 192.168.0.10`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                            |
| `controlPlane`             | <a href="#Config.machine.controlPlane">MachineControlPlaneConfig</a>          | Provides machine specific control plane configuration options. <details><summary>Show example(s)</summary>`controlPlane:`<br />`  # Controller manager machine specific configuration options.`<br />`  controllerManager:`<br />`    disabled: false # Disable kube-controller-manager on the node.`<br />`  # Scheduler machine specific configuration options.`<br />`  scheduler:`<br />`    disabled: true # Disable kube-scheduler on the node.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                            |
| `kubelet`                  | <a href="#Config.machine.kubelet">KubeletConfig</a>                           | Used to provide additional options to the kubelet. <details><summary>Show example(s)</summary>`kubelet:`<br />`  image: ghcr.io/siderolabs/kubelet:v1.33.0 # The image field is an optional reference to an alternative kubelet image.`<br />`  # The extraArgs field is used to provide additional flags to the kubelet.`<br />`  extraArgs:`<br />`    feature-gates: ServerSideApply=true`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                                                            |
| `pods`                     | \[]Unstructured                                                               | <details><summary>Used to provide static pod definitions to be run by the kubelet directly bypassing the kube-apiserver.</summary><br />Static pods can be used to run components which should be started before the Kubernetes control plane is up.<br />Talos doesn't validate the pod definition.<br />Updates to this field can be applied without a reboot.<br /><br />See [https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/](https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/).</details> <details><summary>Show example(s)</summary>`pods:`<br />`  - apiVersion: v1`<br />`    kind: pod`<br />`    metadata:`<br />`      name: nginx`<br />`    spec:`<br />`      containers:`<br />`        - image: nginx`<br />`          name: nginx`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                            |
| `network`                  | <a href="#Config.machine.network">NetworkConfig</a>                           | Provides machine specific network configuration options. <details><summary>Show example(s)</summary>`network:`<br />`  hostname: worker-1 # Used to statically set the hostname for the machine.`<br />`  # interfaces is used to define the network interface configuration.`<br />`  interfaces:`<br />`    - interface: enp0s1 # The interface name.`<br />`      # Assigns static IP addresses to the interface.`<br />`      addresses:`<br />`        - 192.168.2.0/24`<br />`      # A list of routes associated with the interface.`<br />`      routes:`<br />`        - network: 0.0.0.0/0 # The route's network (destination).`<br />`          gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).`<br />`          metric: 1024 # The optional metric for the route.`<br />`      mtu: 1500 # The interface's MTU.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                                                            |
| `install`                  | <a href="#Config.machine.install">InstallConfig</a>                           | <details><summary>Used to provide instructions for installations.</summary><br />Note that this configuration section gets silently ignored by Talos images that are considered pre-installed.<br />To make sure Talos installs according to the provided configuration, Talos should be booted with ISO or PXE-booted.</details> <details><summary>Show example(s)</summary>`install:`<br />`  disk: /dev/sda # The disk used for installations.`<br />`  # Allows for supplying extra kernel args via the bootloader.`<br />`  extraKernelArgs:`<br />`    - console=ttyS1`<br />`    - panic=10`<br />`  image: ghcr.io/siderolabs/installer:latest # Allows for supplying the image used to perform the installation.`<br />`  wipe: false # Indicates if the installation disk should be wiped at installation time.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                            |
| `files`                    | <a href="#Config.machine.files.">\[]MachineFile</a>                           | <details><summary>Allows the addition of user specified files.</summary>The value of `op` can be `create`, `overwrite`, or `append`.<br />In the case of `create`, `path` must not exist.<br />In the case of `overwrite`, and `append`, `path` must be a valid file.<br />If an `op` value of `append` is used, the existing file will be appended.<br />Note that the file contents are not required to be base64 encoded.</details> <details><summary>Show example(s)</summary>`files:`<br />`  - content: '...' # The contents of the file.`<br />`    permissions: 0o666 # The file's permissions in octal.`<br />`    path: /tmp/file.txt # The path of the file.`<br />`    op: append # The operation to use`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                            |
| `env`                      | Env                                                                           | <details><summary>The `env` field allows for the addition of environment variables.</summary>All environment variables are set on PID 1 in addition to every service.</details> <details><summary>Show example(s)</summary>`env:`<br />`  GRPC_GO_LOG_SEVERITY_LEVEL: info`<br />`  GRPC_GO_LOG_VERBOSITY_LEVEL: "99"`<br />`  https_proxy: http://SERVER:PORT/`<br /><br />`env:`<br />`  GRPC_GO_LOG_SEVERITY_LEVEL: error`<br />`  https_proxy: https://USERNAME:PASSWORD@SERVER:PORT/`<br /><br />`env:`<br />`  https_proxy: http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `GRPC_GO_LOG_VERBOSITY_LEVEL`<br />`GRPC_GO_LOG_SEVERITY_LEVEL`<br />`http_proxy`<br />`https_proxy`<br />`no_proxy`<br /> |
| `time`                     | <a href="#Config.machine.time">TimeConfig</a>                                 | Used to configure the machine's time settings. <details><summary>Show example(s)</summary>`time:`<br />`  disabled: false # Indicates if the time service is disabled for the machine.`<br />`  servers:`<br />`    - time.cloudflare.com`<br />`  bootTimeout: 2m0s # Specifies the timeout when the node time is considered to be in sync unlocking the boot sequence.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |
| `sysctls`                  | map\[string]string                                                            | Used to configure the machine's sysctls. <details><summary>Show example(s)</summary>`sysctls:`<br />`  kernel.domainname: talos.dev`<br />`  net.ipv4.ip_forward: "0"`<br />`  net/ipv6/conf/eth0.100/disable_ipv6: "1"`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                            |
| `sysfs`                    | map\[string]string                                                            | Used to configure the machine's sysfs. <details><summary>Show example(s)</summary>`sysfs:`<br />`  devices.system.cpu.cpu0.cpufreq.scaling_governor: performance`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                            |
| `registries`               | <a href="#Config.machine.registries">RegistriesConfig</a>                     | <details><summary>Used to configure the machine's container image registry mirrors.</summary><br />Automatically generates matching CRI configuration for registry mirrors.<br /><br />The `mirrors` section allows to redirect requests for images to a non-default registry,<br />which might be a local registry or a caching mirror.<br /><br />The `config` section provides a way to authenticate to the registry with TLS client<br />identity, provide registry CA, or authentication information.<br />Authentication information has same meaning with the corresponding field in [`.docker/config.json`](https://docs.docker.com/engine/api/v1.41/#section/Authentication).<br /><br />See also matching configuration for [CRI containerd plugin](https://github.com/containerd/cri/blob/master/docs/registry.md).</details> <details><summary>Show example(s)</summary>`registries:`<br />`  # Specifies mirror configuration for each registry host namespace.`<br />`  mirrors:`<br />`    docker.io:`<br />`      # List of endpoints (URLs) for registry mirrors to use.`<br />`      endpoints:`<br />`        - https://registry.local`<br />`  # Specifies TLS & auth configuration for HTTPS image registries.`<br />`  config:`<br />`    registry.local:`<br />`      # The TLS configuration for the registry.`<br />`      tls:`<br />`        # Enable mutual TLS authentication with the registry.`<br />`        clientIdentity:`<br />`          crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`          key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`<br />`      # The auth configuration for this registry.`<br />`      auth:`<br />`        username: username # Optional registry authentication.`<br />`        password: password # Optional registry authentication.`</details> |                                                                                                                            |
| `systemDiskEncryption`     | <a href="#Config.machine.systemDiskEncryption">SystemDiskEncryptionConfig</a> | <details><summary>Machine system disk encryption configuration.</summary>Defines each system partition encryption parameters.</details> <details><summary>Show example(s)</summary>`systemDiskEncryption:`<br />`  # Ephemeral partition encryption.`<br />`  ephemeral:`<br />`    provider: luks2 # Encryption provider to use for the encryption.`<br />`    # Defines the encryption keys generation and storage method.`<br />`    keys:`<br />`      - # Deterministically generated key from the node UUID and PartitionLabel.`<br />`       nodeID:`<br />`        slot: 0 # Key slot number for LUKS2 encryption.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                            |
| `features`                 | <a href="#Config.machine.features">FeaturesConfig</a>                         | Features describe individual Talos features that can be switched on or off. <details><summary>Show example(s)</summary>`features:`<br />`  rbac: true # Enable role-based access control (RBAC).`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                            |
| `udev`                     | <a href="#Config.machine.udev">UdevConfig</a>                                 | Configures the udev system. <details><summary>Show example(s)</summary>`udev:`<br />`  # List of udev rules to apply to the udev system`<br />`  rules:`<br />`    - SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                            |
| `logging`                  | <a href="#Config.machine.logging">LoggingConfig</a>                           | Configures the logging system. <details><summary>Show example(s)</summary>`logging:`<br />`  # Logging destination.`<br />`  destinations:`<br />`    - endpoint: tcp://1.2.3.4:12345 # Where to send logs. Supported protocols are "tcp" and "udp".`<br />`      format: json_lines # Logs format.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                            |
| `kernel`                   | <a href="#Config.machine.kernel">KernelConfig</a>                             | Configures the kernel. <details><summary>Show example(s)</summary>`kernel:`<br />`  # Kernel modules to load.`<br />`  modules:`<br />`    - name: brtfs # Module name.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                            |
| `seccompProfiles`          | <a href="#Config.machine.seccompProfiles.">\[]MachineSeccompProfile</a>       | Configures the seccomp profiles for the machine. <details><summary>Show example(s)</summary>`seccompProfiles:`<br />`  - name: audit.json # The name field is used to provide the file name of the seccomp profile.`<br />`    # The value field is used to provide the seccomp profile.`<br />`    value:`<br />`      defaultAction: SCMP_ACT_LOG`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                            |
| `baseRuntimeSpecOverrides` | Unstructured                                                                  | <details><summary>Override (patch) settings in the default OCI runtime spec for CRI containers.</summary><br />It can be used to set some default container settings which are not configurable in Kubernetes,<br />for example default ulimits.<br />Note: this change applies to all newly created containers, and it requires a reboot to take effect.</details> <details><summary>Show example(s)</summary>`baseRuntimeSpecOverrides:`<br />`  process:`<br />`    rlimits:`<br />`      - hard: 1024`<br />`        soft: 1024`<br />`        type: RLIMIT_NOFILE`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                                                            |
| `nodeLabels`               | map\[string]string                                                            | <details><summary>Configures the node labels for the machine.</summary><br />Note: In the default Kubernetes configuration, worker nodes are restricted to set<br />labels with some prefixes (see [NodeRestriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) admission plugin).</details> <details><summary>Show example(s)</summary>`nodeLabels:`<br />`  exampleLabel: exampleLabelValue`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                            |
| `nodeAnnotations`          | map\[string]string                                                            | Configures the node annotations for the machine. <details><summary>Show example(s)</summary>`nodeAnnotations:`<br />`  customer.io/rack: r13a25`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                            |
| `nodeTaints`               | map\[string]string                                                            | <details><summary>Configures the node taints for the machine. Effect is optional.</summary><br />Note: In the default Kubernetes configuration, worker nodes are not allowed to<br />modify the taints (see [NodeRestriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) admission plugin).</details> <details><summary>Show example(s)</summary>`nodeTaints:`<br />`  exampleTaint: exampleTaintValue:NoSchedule`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                                                            |

### controlPlane

MachineControlPlaneConfig machine specific configuration options.

```yaml
machine:
    controlPlane:
        # Controller manager machine specific configuration options.
        controllerManager:
            disabled: false # Disable kube-controller-manager on the node.
        # Scheduler machine specific configuration options.
        scheduler:
            disabled: true # Disable kube-scheduler on the node.
```

| Field               | Type                                                                                        | Description                                                | Value(s) |
| ------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | -------- |
| `controllerManager` | <a href="#Config.machine.controlPlane.controllerManager">MachineControllerManagerConfig</a> | Controller manager machine specific configuration options. |          |
| `scheduler`         | <a href="#Config.machine.controlPlane.scheduler">MachineSchedulerConfig</a>                 | Scheduler machine specific configuration options.          |          |

#### controllerManager

MachineControllerManagerConfig represents the machine specific ControllerManager config values.

| Field      | Type | Description                                  | Value(s) |
| ---------- | ---- | -------------------------------------------- | -------- |
| `disabled` | bool | Disable kube-controller-manager on the node. |          |

#### scheduler

MachineSchedulerConfig represents the machine specific Scheduler config values.

| Field      | Type | Description                         | Value(s) |
| ---------- | ---- | ----------------------------------- | -------- |
| `disabled` | bool | Disable kube-scheduler on the node. |          |

### kubelet

KubeletConfig represents the kubelet config values.

```yaml
machine:
    kubelet:
        image: ghcr.io/siderolabs/kubelet:v1.33.0 # The `image` field is an optional reference to an alternative kubelet image.
        # The `extraArgs` field is used to provide additional flags to the kubelet.
        extraArgs:
            feature-gates: ServerSideApply=true

        # # The `ClusterDNS` field is an optional reference to an alternative kubelet clusterDNS ip list.
        # clusterDNS:
        #     - 10.96.0.10
        #     - 169.254.2.53

        # # The `extraMounts` field is used to add additional mounts to the kubelet container.
        # extraMounts:
        #     - destination: /var/lib/example # Destination is the absolute path where the mount will be placed in the container.
        #       type: bind # Type specifies the mount kind.
        #       source: /var/lib/example # Source specifies the source path of the mount.
        #       # Options are fstab style mount options.
        #       options:
        #         - bind
        #         - rshared
        #         - rw

        # # The `extraConfig` field is used to provide kubelet configuration overrides.
        # extraConfig:
        #     serverTLSBootstrap: true

        # # The `KubeletCredentialProviderConfig` field is used to provide kubelet credential configuration.
        # credentialProviderConfig:
        #     apiVersion: kubelet.config.k8s.io/v1
        #     kind: CredentialProviderConfig
        #     providers:
        #         - apiVersion: credentialprovider.kubelet.k8s.io/v1
        #           defaultCacheDuration: 12h
        #           matchImages:
        #             - '*.dkr.ecr.*.amazonaws.com'
        #             - '*.dkr.ecr.*.amazonaws.com.cn'
        #             - '*.dkr.ecr-fips.*.amazonaws.com'
        #             - '*.dkr.ecr.us-iso-east-1.c2s.ic.gov'
        #             - '*.dkr.ecr.us-isob-east-1.sc2s.sgov.gov'
        #           name: ecr-credential-provider

        # # The `nodeIP` field is used to configure `--node-ip` flag for the kubelet.
        # nodeIP:
        #     # The `validSubnets` field configures the networks to pick kubelet node IP from.
        #     validSubnets:
        #         - 10.0.0.0/8
        #         - '!10.0.0.3/32'
        #         - fdc7::/16
```

| Field                                 | Type                | Description                                                                                                                                                                                                                                                                                                                                                                   | Value(s)                                 |
| ------------------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| `image`                               | string              | The `image` field is an optional reference to an alternative kubelet image.<br /><br />**Example:**<br />`yaml<br/>image: ghcr.io/siderolabs/kubelet:v1.33.0<br/>`                                                                                                                                                                                                            |                                          |
| `clusterDNS`                          | \[]string           | The `ClusterDNS` field is an optional reference to an alternative kubelet clusterDNS ip list.<br /><br />**Example:**<br />`yaml<br/>clusterDNS:<br/>  - 10.96.0.10<br/>  - 169.254.2.53<br/>`                                                                                                                                                                                |                                          |
| `extraArgs`                           | map\[string]string  | The `extraArgs` field is used to provide additional flags to the kubelet.<br /><br />**Example:**<br />`yaml<br/>extraArgs:<br/>  key: value<br/>`                                                                                                                                                                                                                            |                                          |
| `extraMounts`                         | \[]ExtraMount       | The `extraMounts` field is used to add additional mounts to the kubelet container. Note that either `bind` or `rbind` are required in the `options`.<br /><br />**Example:**<br />`yaml<br/>extraMounts:<br/>  - destination: /var/lib/example<br/>    type: bind<br/>    source: /var/lib/example<br/>    options:<br/>      - bind<br/>      - rshared<br/>      - rw<br/>` |                                          |
| `extraConfig`                         | Unstructured        | The `extraConfig` field is used to provide kubelet configuration overrides. Some fields are not allowed to be overridden: authentication and authorization, cgroups configuration, ports, etc.<br /><br />**Example:**<br />`yaml<br/>extraConfig:<br/>  serverTLSBootstrap: true<br/>`                                                                                       |                                          |
| `credentialProviderConfig`            | Unstructured        | The `KubeletCredentialProviderConfig` field is used to provide kubelet credential configuration.<br /><br />**Example:**<br />`yaml<br/>credentialProviderConfig:<br/>  apiVersion: kubelet.config.k8s.io/v1<br/>  kind: CredentialProviderConfig<br/>  providers:<br/>    - name: ecr-credential-provider<br/>      apiVersion: credentialprovider.kubelet.k8s.io/v1<br/>`   |                                          |
| `defaultRuntimeSeccompProfileEnabled` | bool                | Enable container runtime default Seccomp profile.                                                                                                                                                                                                                                                                                                                             | `true`<br />`yes`<br />`false`<br />`no` |
| `registerWithFQDN`                    | bool                | The `registerWithFQDN` field is used to force kubelet to use the node FQDN for registration. This is required in clouds like AWS.                                                                                                                                                                                                                                             | `true`<br />`yes`<br />`false`<br />`no` |
| `nodeIP`                              | KubeletNodeIPConfig | The `nodeIP` field is used to configure `--node-ip` flag for the kubelet. This is used when a node has multiple addresses to choose from.<br /><br />**Example:**<br />`yaml<br/>nodeIP:<br/>  validSubnets:<br/>    - 10.0.0.0/8<br/>    - '!10.0.0.3/32'<br/>    - fdc7::/16<br/>`                                                                                          |                                          |
| `skipNodeRegistration`                | bool                | The `skipNodeRegistration` is used to run the kubelet without registering with the apiserver. This runs kubelet as standalone and only runs static pods.                                                                                                                                                                                                                      | `true`<br />`yes`<br />`false`<br />`no` |
| `disableManifestsDirectory`           | bool                | The `disableManifestsDirectory` field configures the kubelet to get static pod manifests from the /etc/kubernetes/manifests directory. It's recommended to configure static pods with the "pods" key instead.                                                                                                                                                                 | `true`<br />`yes`<br />`false`<br />`no` |

#### extraMounts\[]

ExtraMount wraps OCI Mount specification.

```yaml
machine:
    kubelet:
        extraMounts:
            - destination: /var/lib/example # Destination is the absolute path where the mount will be placed in the container.
              type: bind # Type specifies the mount kind.
              source: /var/lib/example # Source specifies the source path of the mount.
              # Options are fstab style mount options.
              options:
                - bind
                - rshared
                - rw
```

| Field         | Type                                                                              | Description                                                                                                                                                                      | Value(s) |
| ------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `destination` | string                                                                            | Destination is the absolute path where the mount will be placed in the container.                                                                                                |          |
| `type`        | string                                                                            | Type specifies the mount kind.                                                                                                                                                   |          |
| `source`      | string                                                                            | Source specifies the source path of the mount.                                                                                                                                   |          |
| `options`     | \[]string                                                                         | Options are fstab style mount options.                                                                                                                                           |          |
| `uidMappings` | <a href="#Config.machine.kubelet.extraMounts..uidMappings.">\[]LinuxIDMapping</a> | <details><summary>UID/GID mappings used for changing file owners w/o calling chown, fs should support it.</summary><br />Every mount point could have its own mapping.</details> |          |
| `gidMappings` | <a href="#Config.machine.kubelet.extraMounts..gidMappings.">\[]LinuxIDMapping</a> | <details><summary>UID/GID mappings used for changing file owners w/o calling chown, fs should support it.</summary><br />Every mount point could have its own mapping.</details> |          |

##### uidMappings\[]

LinuxIDMapping represents the Linux ID mapping.

| Field         | Type   | Description                                                               | Value(s) |
| ------------- | ------ | ------------------------------------------------------------------------- | -------- |
| `containerID` | uint32 | ContainerID is the starting UID/GID in the container.                     |          |
| `hostID`      | uint32 | HostID is the starting UID/GID on the host to be mapped to 'ContainerID'. |          |
| `size`        | uint32 | Size is the number of IDs to be mapped.                                   |          |

##### gidMappings\[]

LinuxIDMapping represents the Linux ID mapping.

| Field         | Type   | Description                                                               | Value(s) |
| ------------- | ------ | ------------------------------------------------------------------------- | -------- |
| `containerID` | uint32 | ContainerID is the starting UID/GID in the container.                     |          |
| `hostID`      | uint32 | HostID is the starting UID/GID on the host to be mapped to 'ContainerID'. |          |
| `size`        | uint32 | Size is the number of IDs to be mapped.                                   |          |

#### nodeIP

KubeletNodeIPConfig represents the kubelet node IP configuration.

```yaml
machine:
    kubelet:
        nodeIP:
            # The `validSubnets` field configures the networks to pick kubelet node IP from.
            validSubnets:
                - 10.0.0.0/8
                - '!10.0.0.3/32'
                - fdc7::/16
```

| Field          | Type      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Value(s) |
| -------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `validSubnets` | \[]string | <details><summary>The `validSubnets` field configures the networks to pick kubelet node IP from.</summary>For dual stack configuration, there should be two subnets: one for IPv4, another for IPv6.<br />IPs can be excluded from the list by using negative match with `!`, e.g `!10.0.0.0/8`.<br />Negative subnet matches should be specified last to filter out IPs picked by positive matches.<br />If not specified, node IP is picked based on cluster podCIDRs: IPv4/IPv6 address or both.</details> |          |

### network

NetworkConfig represents the machine's networking config values.

```yaml
machine:
    network:
        hostname: worker-1 # Used to statically set the hostname for the machine.
        # `interfaces` is used to define the network interface configuration.
        interfaces:
            - interface: enp0s1 # The interface name.
              # Assigns static IP addresses to the interface.
              addresses:
                - 192.168.2.0/24
              # A list of routes associated with the interface.
              routes:
                - network: 0.0.0.0/0 # The route's network (destination).
                  gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).
                  metric: 1024 # The optional metric for the route.
              mtu: 1500 # The interface's MTU.

              # # Picks a network device using the selector.

              # # select a device with bus prefix 00:*.
              # deviceSelector:
              #     busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
              # # select a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
              # deviceSelector:
              #     hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
              #     driver: virtio_net # Kernel driver, supports matching by wildcard.
              # # select a device with bus prefix 00:*, a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
              # deviceSelector:
              #     - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
              #     - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
              #       driver: virtio_net # Kernel driver, supports matching by wildcard.

              # # Bond specific options.
              # bond:
              #     # The interfaces that make up the bond.
              #     interfaces:
              #         - enp2s0
              #         - enp2s1
              #     # Picks a network device using the selector.
              #     deviceSelectors:
              #         - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
              #         - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
              #           driver: virtio_net # Kernel driver, supports matching by wildcard.
              #     mode: 802.3ad # A bond option.
              #     lacpRate: fast # A bond option.

              # # Bridge specific options.
              # bridge:
              #     # The interfaces that make up the bridge.
              #     interfaces:
              #         - enxda4042ca9a51
              #         - enxae2a6774c259
              #     # Enable STP on this bridge.
              #     stp:
              #         enabled: true # Whether Spanning Tree Protocol (STP) is enabled.

              # # Configure this device as a bridge port.
              # bridgePort:
              #     master: br0 # The name of the bridge master interface

              # # Indicates if DHCP should be used to configure the interface.
              # dhcp: true

              # # DHCP specific options.
              # dhcpOptions:
              #     routeMetric: 1024 # The priority of all routes received via DHCP.

              # # Wireguard specific configuration.

              # # wireguard server example
              # wireguard:
              #     privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
              #     listenPort: 51111 # Specifies a device's listening port.
              #     # Specifies a list of peer configurations to apply to a device.
              #     peers:
              #         - publicKey: ABCDEF... # Specifies the public key of this peer.
              #           endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.
              #           # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
              #           allowedIPs:
              #             - 192.168.1.0/24
              # # wireguard peer example
              # wireguard:
              #     privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
              #     # Specifies a list of peer configurations to apply to a device.
              #     peers:
              #         - publicKey: ABCDEF... # Specifies the public key of this peer.
              #           endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.
              #           persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.
              #           # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
              #           allowedIPs:
              #             - 192.168.1.0/24

              # # Virtual (shared) IP address configuration.

              # # layer2 vip example
              # vip:
              #     ip: 172.16.199.55 # Specifies the IP address to be used.
        # Used to statically set the nameservers for the machine.
        nameservers:
            - 9.8.7.6
            - 8.7.6.5
        # Used to statically set arbitrary search domains.
        searchDomains:
            - example.org
            - example.com

        # # Allows for extra entries to be added to the `/etc/hosts` file
        # extraHostEntries:
        #     - ip: 192.168.1.100 # The IP of the host.
        #       # The host alias.
        #       aliases:
        #         - example
        #         - example.domain.tld

        # # Configures KubeSpan feature.
        # kubespan:
        #     enabled: true # Enable the KubeSpan feature.
```

| Field                 | Type                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Value(s)                                       |
| --------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------- |
| `hostname`            | string                                                               | Used to statically set the hostname for the machine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                |
| `interfaces`          | <a href="#Config.machine.network.interfaces.">\[]Device</a>          | <details><summary>`interfaces` is used to define the network interface configuration.</summary>By default all network interfaces will attempt a DHCP discovery.<br />This can be further tuned through this configuration parameter.</details> <details><summary>Show example(s)</summary>`interfaces:`<br />`  - interface: enp0s1 # The interface name.`<br />`    # Assigns static IP addresses to the interface.`<br />`    addresses:`<br />`      - 192.168.2.0/24`<br />`    # A list of routes associated with the interface.`<br />`    routes:`<br />`      - network: 0.0.0.0/0 # The route's network (destination).`<br />`        gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).`<br />`        metric: 1024 # The optional metric for the route.`<br />`    mtu: 1500 # The interface's MTU.`<br /><br />`# Additional interface configuration options:`<br />`# deviceSelector, bond, bridge, dhcp, wireguard, vip`</details> |                                                |
| `nameservers`         | \[]string                                                            | <details><summary>Used to statically set the nameservers for the machine.</summary>Defaults to `1.1.1.1` and `8.8.8.8`</details> <details><summary>Show example(s)</summary>`nameservers:`<br />`  - 8.8.8.8`<br />`  - 1.1.1.1`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                |
| `searchDomains`       | \[]string                                                            | Used to statically set arbitrary search domains. <details><summary>Show example(s)</summary>`searchDomains:`<br />`  - example.org`<br />`  - example.com`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                |
| `extraHostEntries`    | <a href="#Config.machine.network.extraHostEntries.">\[]ExtraHost</a> | Allows for extra entries to be added to the `/etc/hosts` file <details><summary>Show example(s)</summary>`extraHostEntries:`<br />`  - ip: 192.168.1.100 # The IP of the host.`<br />`    # The host alias.`<br />`    aliases:`<br />`      - example`<br />`      - example.domain.tld`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                |
| `kubespan`            | <a href="#Config.machine.network.kubespan">NetworkKubeSpan</a>       | Configures KubeSpan feature. <details><summary>Show example(s)</summary>`kubespan:`<br />`  enabled: true # Enable the KubeSpan feature.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                |
| `disableSearchDomain` | bool                                                                 | <details><summary>Disable generating a default search domain in /etc/resolv.conf</summary>based on the machine hostname.<br />Defaults to `false`.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`<br />`yes`<br />`false`<br />`no`<br /> |

#### interfaces\[]

Device represents a network interface.

```yaml
machine:
    network:
        interfaces:
            - interface: enp0s1 # The interface name.
              # Assigns static IP addresses to the interface.
              addresses:
                - 192.168.2.0/24
              # A list of routes associated with the interface.
              routes:
                - network: 0.0.0.0/0 # The route's network (destination).
                  gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).
                  metric: 1024 # The optional metric for the route.
              mtu: 1500 # The interface's MTU.

              # # Picks a network device using the selector.

              # # select a device with bus prefix 00:*.
              # deviceSelector:
              #     busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
              # # select a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
              # deviceSelector:
              #     hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
              #     driver: virtio_net # Kernel driver, supports matching by wildcard.
              # # select a device with bus prefix 00:*, a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
              # deviceSelector:
              #     - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
              #     - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
              #       driver: virtio_net # Kernel driver, supports matching by wildcard.

              # # Bond specific options.
              # bond:
              #     # The interfaces that make up the bond.
              #     interfaces:
              #         - enp2s0
              #         - enp2s1
              #     # Picks a network device using the selector.
              #     deviceSelectors:
              #         - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
              #         - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
              #           driver: virtio_net # Kernel driver, supports matching by wildcard.
              #     mode: 802.3ad # A bond option.
              #     lacpRate: fast # A bond option.

              # # Bridge specific options.
              # bridge:
              #     # The interfaces that make up the bridge.
              #     interfaces:
              #         - enxda4042ca9a51
              #         - enxae2a6774c259
              #     # Enable STP on this bridge.
              #     stp:
              #         enabled: true # Whether Spanning Tree Protocol (STP) is enabled.

              # # Configure this device as a bridge port.
              # bridgePort:
              #     master: br0 # The name of the bridge master interface

              # # Indicates if DHCP should be used to configure the interface.
              # dhcp: true

              # # DHCP specific options.
              # dhcpOptions:
              #     routeMetric: 1024 # The priority of all routes received via DHCP.

              # # Wireguard specific configuration.

              # # wireguard server example
              # wireguard:
              #     privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
              #     listenPort: 51111 # Specifies a device's listening port.
              #     # Specifies a list of peer configurations to apply to a device.
              #     peers:
              #         - publicKey: ABCDEF... # Specifies the public key of this peer.
              #           endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.
              #           # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
              #           allowedIPs:
              #             - 192.168.1.0/24
              # # wireguard peer example
              # wireguard:
              #     privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
              #     # Specifies a list of peer configurations to apply to a device.
              #     peers:
              #         - publicKey: ABCDEF... # Specifies the public key of this peer.
              #           endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.
              #           persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.
              #           # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
              #           allowedIPs:
              #             - 192.168.1.0/24

              # # Virtual (shared) IP address configuration.

              # # layer2 vip example
              # vip:
              #     ip: 172.16.199.55 # Specifies the IP address to be used.
```

| Field            | Type                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | Value(s) |
| ---------------- | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `interface`      | string                                                                                 | <details><summary>The interface name.</summary>Mutually exclusive with `deviceSelector`.</details> <details><summary>Show example(s)</summary>`interface: enp0s3`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |          |
| `deviceSelector` | <a href="#Config.machine.network.interfaces..deviceSelector">NetworkDeviceSelector</a> | <details><summary>Picks a network device using the selector.</summary>Mutually exclusive with `interface`.<br />Supports partial match using wildcard syntax.</details> <details><summary>Show example(s)</summary>`deviceSelector:`<br />`  busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.`<br /><br />`deviceSelector:`<br />`  hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.`<br />`  driver: virtio_net # Kernel driver, supports matching by wildcard.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |          |
| `addresses`      | \[]string                                                                              | <details><summary>Assigns static IP addresses to the interface.</summary>An address can be specified either in proper CIDR notation or as a standalone address (netmask of all ones is assumed).</details> <details><summary>Show example(s)</summary>`addresses:`<br />`  - 10.5.0.0/16`<br />`  - 192.168.3.7`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |          |
| `routes`         | <a href="#Config.machine.network.interfaces..routes.">\[]Route</a>                     | <details><summary>A list of routes associated with the interface.</summary>If used in combination with DHCP, these routes will be appended to routes returned by DHCP server.</details> <details><summary>Show example(s)</summary>`routes:`<br />`  - network: 0.0.0.0/0 # The route's network (destination).`<br />`    gateway: 10.5.0.1 # The route's gateway (if empty, creates link scope route).`<br />`  - network: 10.2.0.0/16 # The route's network (destination).`<br />`    gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |          |
| `bond`           | <a href="#Config.machine.network.interfaces..bond">Bond</a>                            | Bond specific options. <details><summary>Show example(s)</summary>`bond:`<br />`  # The interfaces that make up the bond.`<br />`  interfaces:`<br />`    - enp2s0`<br />`    - enp2s1`<br />`  mode: 802.3ad # A bond option.`<br />`  lacpRate: fast # A bond option.`<br /><br />`  # # Picks a network device using the selector.`<br /><br />`  # # select a device with bus prefix 00:*, a device with mac address matching *:f0:ab and virtio kernel driver.`<br />`  # deviceSelectors:`<br />`  #   - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.`<br />`  #   - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.`<br />`  #     driver: virtio_net # Kernel driver, supports matching by wildcard.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |          |
| `bridge`         | <a href="#Config.machine.network.interfaces..bridge">Bridge</a>                        | Bridge specific options. <details><summary>Show example(s)</summary>`bridge:`<br />`  # The interfaces that make up the bridge.`<br />`  interfaces:`<br />`    - enxda4042ca9a51`<br />`    - enxae2a6774c259`<br />`  # Enable STP on this bridge.`<br />`  stp:`<br />`    enabled: true # Whether Spanning Tree Protocol (STP) is enabled.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |          |
| `bridgePort`     | <a href="#Config.machine.network.interfaces..bridgePort">BridgePort</a>                | <details><summary>Configure this device as a bridge port.</summary>This can be used to dynamically assign network interfaces to a bridge.</details> <details><summary>Show example(s)</summary>`bridgePort:`<br />`  master: br0 # The name of the bridge master interface`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |          |
| `vlans`          | <a href="#Config.machine.network.interfaces..vlans.">\[]Vlan</a>                       | VLAN specific options.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |          |
| `mtu`            | int                                                                                    | <details><summary>The interface's MTU.</summary>If used in combination with DHCP, this will override any MTU settings returned from DHCP server.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |          |
| `dhcp`           | bool                                                                                   | <details><summary>Indicates if DHCP should be used to configure the interface.</summary>The following DHCP options are supported:<br /><br />- `OptionClasslessStaticRoute`<br />- `OptionDomainNameServer`<br />- `OptionDNSDomainSearchList`<br />- `OptionHostName`</details> <details><summary>Show example(s)</summary>`dhcp: true`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |          |
| `ignore`         | bool                                                                                   | Indicates if the interface should be ignored (skips configuration).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |          |
| `dummy`          | bool                                                                                   | <details><summary>Indicates if the interface is a dummy interface.</summary>`dummy` is used to specify that this interface should be a virtual-only, dummy interface.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |          |
| `dhcpOptions`    | <a href="#Config.machine.network.interfaces..dhcpOptions">DHCPOptions</a>              | <details><summary>DHCP specific options.</summary>`dhcp` *must* be set to true for these to take effect.</details> <details><summary>Show example(s)</summary>`dhcpOptions:`<br />`  routeMetric: 1024 # The priority of all routes received via DHCP.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |          |
| `wireguard`      | <a href="#Config.machine.network.interfaces..wireguard">DeviceWireguardConfig</a>      | <details><summary>Wireguard specific configuration.</summary>Includes things like private key, listen port, peers.</details> <details><summary>Show example(s)</summary>`wireguard:`<br />`  privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).`<br />`  listenPort: 51111 # Specifies a device's listening port.`<br />`  # Specifies a list of peer configurations to apply to a device.`<br />`  peers:`<br />`    - publicKey: ABCDEF... # Specifies the public key of this peer.`<br />`      endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.`<br />`      # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.`<br />`      allowedIPs:`<br />`        - 192.168.1.0/24`<br /><br />`wireguard:`<br />`  privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).`<br />`  # Specifies a list of peer configurations to apply to a device.`<br />`  peers:`<br />`    - publicKey: ABCDEF... # Specifies the public key of this peer.`<br />`      endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.`<br />`      persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.`<br />`      # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.`<br />`      allowedIPs:`<br />`        - 192.168.1.0/24`</details> |          |
| `vip`            | <a href="#Config.machine.network.interfaces..vip">DeviceVIPConfig</a>                  | Virtual (shared) IP address configuration. <details><summary>Show example(s)</summary>`vip:`<br />`  ip: 172.16.199.55 # Specifies the IP address to be used.`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |          |

##### deviceSelector

NetworkDeviceSelector struct describes network device selector.

```yaml
machine:
    network:
        interfaces:
            - deviceSelector:
                busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
```

```yaml
machine:
    network:
        interfaces:
            - deviceSelector:
                hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
                driver: virtio_net # Kernel driver, supports matching by wildcard.
```

```yaml
machine:
    network:
        interfaces:
            - deviceSelector:
                - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
                - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
                  driver: virtio_net # Kernel driver, supports matching by wildcard.
```

| Field           | Type   | Description                                                                                                                                                                                                                                   | Value(s) |
| --------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `busPath`       | string | PCI, USB bus prefix, supports matching by wildcard.                                                                                                                                                                                           |          |
| `hardwareAddr`  | string | Device hardware (MAC) address, supports matching by wildcard.                                                                                                                                                                                 |          |
| `permanentAddr` | string | <details><summary>Device permanent hardware address, supports matching by wildcard.</summary>The permanent address doesn't change when the link is enslaved to a bond,<br />so it's recommended to use this field for bond members.</details> |          |
| `pciID`         | string | PCI ID (vendor ID, product ID), supports matching by wildcard.                                                                                                                                                                                |          |
| `driver`        | string | Kernel driver, supports matching by wildcard.                                                                                                                                                                                                 |          |
| `physical`      | bool   | Select only physical devices.                                                                                                                                                                                                                 |          |

##### routes\[]

Route represents a network route.

```yaml
machine:
    network:
        interfaces:
            - routes:
                - network: 0.0.0.0/0 # The route's network (destination).
                  gateway: 10.5.0.1 # The route's gateway (if empty, creates link scope route).
                - network: 10.2.0.0/16 # The route's network (destination).
                  gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
```

| Field     | Type   | Description                                               | Value(s) |
| --------- | ------ | --------------------------------------------------------- | -------- |
| `network` | string | The route's network (destination).                        |          |
| `gateway` | string | The route's gateway (if empty, creates link scope route). |          |
| `source`  | string | The route's source address (optional).                    |          |
| `metric`  | uint32 | The optional metric for the route.                        |          |
| `mtu`     | uint32 | The optional MTU for the route.                           |          |

##### bond

Bond contains the various options for configuring a bonded interface.

```yaml
machine:
    network:
        interfaces:
            - bond:
                # The interfaces that make up the bond.
                interfaces:
                    - enp2s0
                    - enp2s1
                mode: 802.3ad # A bond option.
                lacpRate: fast # A bond option.

                # # Picks a network device using the selector.

                # # select a device with bus prefix 00:*, a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
                # deviceSelectors:
                #     - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
                #     - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
                #       driver: virtio_net # Kernel driver, supports matching by wildcard.
```

| Field             | Type                                                                                             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Value(s) |
| ----------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `interfaces`      | \[]string                                                                                        | The interfaces that make up the bond.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |          |
| `deviceSelectors` | <a href="#Config.machine.network.interfaces..bond.deviceSelectors.">\[]NetworkDeviceSelector</a> | <details><summary>Picks a network device using the selector.</summary>Mutually exclusive with `interfaces`.<br />Supports partial match using wildcard syntax.</details> <details><summary>Show example(s)</summary>`deviceSelectors:`<br />`  - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.`<br />`  - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.`<br />`    driver: virtio_net # Kernel driver, supports matching by wildcard.`</details> |          |
| `arpIPTarget`     | \[]string                                                                                        | <details><summary>A bond option.</summary>Please see the official kernel documentation.<br />Not supported at the moment.</details>                                                                                                                                                                                                                                                                                                                                                                              |          |
| `mode`            | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `xmitHashPolicy`  | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `lacpRate`        | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `adActorSystem`   | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.<br />Not supported at the moment.</details>                                                                                                                                                                                                                                                                                                                                                                              |          |
| `arpValidate`     | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `arpAllTargets`   | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `primary`         | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `primaryReselect` | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `failOverMac`     | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `adSelect`        | string                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `miimon`          | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `updelay`         | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `downdelay`       | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `arpInterval`     | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `resendIgmp`      | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `minLinks`        | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `lpInterval`      | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `packetsPerSlave` | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `numPeerNotif`    | uint8                                                                                            | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `tlbDynamicLb`    | uint8                                                                                            | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `allSlavesActive` | uint8                                                                                            | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `useCarrier`      | bool                                                                                             | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `adActorSysPrio`  | uint16                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `adUserPortKey`   | uint16                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `peerNotifyDelay` | uint32                                                                                           | <details><summary>A bond option.</summary>Please see the official kernel documentation.</details>                                                                                                                                                                                                                                                                                                                                                                                                                |          |

###### deviceSelectors\[]

NetworkDeviceSelector struct describes network device selector.

```yaml
machine:
    network:
        interfaces:
            - bond:
                deviceSelectors:
                    busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
```

```yaml
machine:
    network:
        interfaces:
            - bond:
                deviceSelectors:
                    hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
                    driver: virtio_net # Kernel driver, supports matching by wildcard.
```

```yaml
machine:
    network:
        interfaces:
            - bond:
                deviceSelectors:
                    - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
                    - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
                      driver: virtio_net # Kernel driver, supports matching by wildcard.
```

| Field           | Type   | Description                                                                                                                                                                                                                                   | Value(s) |
| --------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `busPath`       | string | PCI, USB bus prefix, supports matching by wildcard.                                                                                                                                                                                           |          |
| `hardwareAddr`  | string | Device hardware (MAC) address, supports matching by wildcard.                                                                                                                                                                                 |          |
| `permanentAddr` | string | <details><summary>Device permanent hardware address, supports matching by wildcard.</summary>The permanent address doesn't change when the link is enslaved to a bond,<br />so it's recommended to use this field for bond members.</details> |          |
| `pciID`         | string | PCI ID (vendor ID, product ID), supports matching by wildcard.                                                                                                                                                                                |          |
| `driver`        | string | Kernel driver, supports matching by wildcard.                                                                                                                                                                                                 |          |
| `physical`      | bool   | Select only physical devices.                                                                                                                                                                                                                 |          |

##### bridge

Bridge contains the various options for configuring a bridge interface.

```yaml
machine:
    network:
        interfaces:
            - bridge:
                # The interfaces that make up the bridge.
                interfaces:
                    - enxda4042ca9a51
                    - enxae2a6774c259
                # Enable STP on this bridge.
                stp:
                    enabled: true # Whether Spanning Tree Protocol (STP) is enabled.
```

| Field        | Type                                                                     | Description                                                                                                              | Value(s) |
| ------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -------- |
| `interfaces` | \[]string                                                                | The interfaces that make up the bridge.                                                                                  |          |
| `stp`        | <a href="#Config.machine.network.interfaces..bridge.stp">STP</a>         | <details><summary>Enable STP on this bridge.</summary>Please see the official kernel documentation.</details>            |          |
| `vlan`       | <a href="#Config.machine.network.interfaces..bridge.vlan">BridgeVLAN</a> | <details><summary>Enable VLAN-awareness on this bridge.</summary>Please see the official kernel documentation.</details> |          |

###### stp

STP contains the various options for configuring the STP properties of a bridge interface.

| Field     | Type | Description                                      | Value(s) |
| --------- | ---- | ------------------------------------------------ | -------- |
| `enabled` | bool | Whether Spanning Tree Protocol (STP) is enabled. |          |

###### vlan

BridgeVLAN contains the various options for configuring the VLAN properties of a bridge interface.

| Field           | Type | Description                        | Value(s) |
| --------------- | ---- | ---------------------------------- | -------- |
| `vlanFiltering` | bool | Whether VLAN filtering is enabled. |          |

##### bridgePort

BridgePort contains settings for assigning a link to a bridge interface.

```yaml
machine:
    network:
        interfaces:
            - bridgePort:
                master: br0 # The name of the bridge master interface
```

| Field    | Type   | Description                             | Value(s) |
| -------- | ------ | --------------------------------------- | -------- |
| `master` | string | The name of the bridge master interface |          |

##### vlans\[]

Vlan represents vlan settings for a device.

| Field         | Type                                                                             | Description                                                                                                        | Value(s) |
| ------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------- |
| `addresses`   | \[]string                                                                        | The addresses in CIDR notation or as plain IPs to use.                                                             |          |
| `routes`      | <a href="#Config.machine.network.interfaces..vlans..routes.">\[]Route</a>        | A list of routes associated with the VLAN.                                                                         |          |
| `dhcp`        | bool                                                                             | Indicates if DHCP should be used.                                                                                  |          |
| `vlanId`      | uint16                                                                           | The VLAN's ID.                                                                                                     |          |
| `mtu`         | uint32                                                                           | The VLAN's MTU.                                                                                                    |          |
| `vip`         | <a href="#Config.machine.network.interfaces..vlans..vip">DeviceVIPConfig</a>     | The VLAN's virtual IP address configuration.                                                                       |          |
| `dhcpOptions` | <a href="#Config.machine.network.interfaces..vlans..dhcpOptions">DHCPOptions</a> | <details><summary>DHCP specific options.</summary>`dhcp` *must* be set to true for these to take effect.</details> |          |

###### routes\[]

Route represents a network route.

```yaml
machine:
    network:
        interfaces:
            - vlans:
                - routes:
                    - network: 0.0.0.0/0 # The route's network (destination).
                      gateway: 10.5.0.1 # The route's gateway (if empty, creates link scope route).
                    - network: 10.2.0.0/16 # The route's network (destination).
                      gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
```

| Field     | Type   | Description                                               | Value(s) |
| --------- | ------ | --------------------------------------------------------- | -------- |
| `network` | string | The route's network (destination).                        |          |
| `gateway` | string | The route's gateway (if empty, creates link scope route). |          |
| `source`  | string | The route's source address (optional).                    |          |
| `metric`  | uint32 | The optional metric for the route.                        |          |
| `mtu`     | uint32 | The optional MTU for the route.                           |          |

###### vip

DeviceVIPConfig contains settings for configuring a Virtual Shared IP on an interface.

```yaml
machine:
    network:
        interfaces:
            - vlans:
                - vip:
                    ip: 172.16.199.55 # Specifies the IP address to be used.
```

| Field          | Type                                                                                            | Description                                                         | Value(s) |
| -------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -------- |
| `ip`           | string                                                                                          | Specifies the IP address to be used.                                |          |
| `equinixMetal` | <a href="#Config.machine.network.interfaces..vlans..vip.equinixMetal">VIPEquinixMetalConfig</a> | Specifies the Equinix Metal API settings to assign VIP to the node. |          |
| `hcloud`       | <a href="#Config.machine.network.interfaces..vlans..vip.hcloud">VIPHCloudConfig</a>             | Specifies the Hetzner Cloud API settings to assign VIP to the node. |          |

###### equinixMetal

VIPEquinixMetalConfig contains settings for Equinix Metal VIP management.

| Field      | Type   | Description                            | Value(s) |
| ---------- | ------ | -------------------------------------- | -------- |
| `apiToken` | string | Specifies the Equinix Metal API Token. |          |

###### hcloud

VIPHCloudConfig contains settings for Hetzner Cloud VIP management.

| Field      | Type   | Description                            | Value(s) |
| ---------- | ------ | -------------------------------------- | -------- |
| `apiToken` | string | Specifies the Hetzner Cloud API Token. |          |

###### dhcpOptions

DHCPOptions contains options for configuring the DHCP settings for a given interface.

```yaml
machine:
    network:
        interfaces:
            - vlans:
                - dhcpOptions:
                    routeMetric: 1024 # The priority of all routes received via DHCP.
```

| Field         | Type   | Description                                                      | Value(s) |
| ------------- | ------ | ---------------------------------------------------------------- | -------- |
| `routeMetric` | uint32 | The priority of all routes received via DHCP.                    |          |
| `ipv4`        | bool   | Enables DHCPv4 protocol for the interface (default is enabled).  |          |
| `ipv6`        | bool   | Enables DHCPv6 protocol for the interface (default is disabled). |          |
| `duidv6`      | string | Set client DUID (hex string).                                    |          |

##### dhcpOptions

DHCPOptions contains options for configuring the DHCP settings for a given interface.

```yaml
machine:
    network:
        interfaces:
            - dhcpOptions:
                routeMetric: 1024 # The priority of all routes received via DHCP.
```

| Field         | Type   | Description                                                      | Value(s) |
| ------------- | ------ | ---------------------------------------------------------------- | -------- |
| `routeMetric` | uint32 | The priority of all routes received via DHCP.                    |          |
| `ipv4`        | bool   | Enables DHCPv4 protocol for the interface (default is enabled).  |          |
| `ipv6`        | bool   | Enables DHCPv6 protocol for the interface (default is disabled). |          |
| `duidv6`      | string | Set client DUID (hex string).                                    |          |

##### wireguard

DeviceWireguardConfig contains settings for configuring Wireguard network interface.

```yaml
machine:
    network:
        interfaces:
            - wireguard:
                privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
                listenPort: 51111 # Specifies a device's listening port.
                # Specifies a list of peer configurations to apply to a device.
                peers:
                    - publicKey: ABCDEF... # Specifies the public key of this peer.
                      endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.
                      # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
                      allowedIPs:
                        - 192.168.1.0/24
```

```yaml
machine:
    network:
        interfaces:
            - wireguard:
                privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
                # Specifies a list of peer configurations to apply to a device.
                peers:
                    - publicKey: ABCDEF... # Specifies the public key of this peer.
                      endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.
                      persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.
                      # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
                      allowedIPs:
                        - 192.168.1.0/24
```

| Field          | Type                                                                                      | Description                                                                                                                   | Value(s) |
| -------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -------- |
| `privateKey`   | string                                                                                    | <details><summary>Specifies a private key configuration (base64 encoded).</summary>Can be generated by `wg genkey`.</details> |          |
| `listenPort`   | int                                                                                       | Specifies a device's listening port.                                                                                          |          |
| `firewallMark` | int                                                                                       | Specifies a device's firewall mark.                                                                                           |          |
| `peers`        | <a href="#Config.machine.network.interfaces..wireguard.peers.">\[]DeviceWireguardPeer</a> | Specifies a list of peer configurations to apply to a device.                                                                 |          |

###### peers\[]

DeviceWireguardPeer a WireGuard device peer configuration.

| Field                         | Type      | Description                                                                                                                                                                                  | Value(s) |
| ----------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `publicKey`                   | string    | <details><summary>Specifies the public key of this peer.</summary>Can be extracted from private key by running `wg pubkey < private.key > public.key && cat public.key`.</details>           |          |
| `endpoint`                    | string    | Specifies the endpoint of this peer entry.                                                                                                                                                   |          |
| `persistentKeepaliveInterval` | Duration  | <details><summary>Specifies the persistent keepalive interval for this peer.</summary>Field format accepts any Go time.Duration format ('1h' for one hour, '10m' for ten minutes).</details> |          |
| `allowedIPs`                  | \[]string | AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.                                                                                                          |          |

##### vip

DeviceVIPConfig contains settings for configuring a Virtual Shared IP on an interface.

```yaml
machine:
    network:
        interfaces:
            - vip:
                ip: 172.16.199.55 # Specifies the IP address to be used.
```

| Field          | Type                                                                                     | Description                                                         | Value(s) |
| -------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -------- |
| `ip`           | string                                                                                   | Specifies the IP address to be used.                                |          |
| `equinixMetal` | <a href="#Config.machine.network.interfaces..vip.equinixMetal">VIPEquinixMetalConfig</a> | Specifies the Equinix Metal API settings to assign VIP to the node. |          |
| `hcloud`       | <a href="#Config.machine.network.interfaces..vip.hcloud">VIPHCloudConfig</a>             | Specifies the Hetzner Cloud API settings to assign VIP to the node. |          |

###### equinixMetal

VIPEquinixMetalConfig contains settings for Equinix Metal VIP management.

| Field      | Type   | Description                            | Value(s) |
| ---------- | ------ | -------------------------------------- | -------- |
| `apiToken` | string | Specifies the Equinix Metal API Token. |          |

###### hcloud

VIPHCloudConfig contains settings for Hetzner Cloud VIP management.

| Field      | Type   | Description                            | Value(s) |
| ---------- | ------ | -------------------------------------- | -------- |
| `apiToken` | string | Specifies the Hetzner Cloud API Token. |          |

#### extraHostEntries\[]

ExtraHost represents a host entry in /etc/hosts.

```yaml
machine:
    network:
        extraHostEntries:
            - ip: 192.168.1.100 # The IP of the host.
              # The host alias.
              aliases:
                - example
                - example.domain.tld
```

| Field     | Type      | Description         | Value(s) |
| --------- | --------- | ------------------- | -------- |
| `ip`      | string    | The IP of the host. |          |
| `aliases` | \[]string | The host alias.     |          |

#### kubespan

NetworkKubeSpan struct describes KubeSpan configuration.

```yaml
machine:
    network:
        kubespan:
            enabled: true # Enable the KubeSpan feature.
```

| Field                         | Type                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Value(s) |
| ----------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `enabled`                     | bool                                                                   | <details><summary>Enable the KubeSpan feature.</summary>Cluster discovery should be enabled with .cluster.discovery.enabled for KubeSpan to be enabled.</details>                                                                                                                                                                                                                                                                                                                                                                        |          |
| `advertiseKubernetesNetworks` | bool                                                                   | <details><summary>Control whether Kubernetes pod CIDRs are announced over KubeSpan from the node.</summary>If disabled, CNI handles encapsulating pod-to-pod traffic into some node-to-node tunnel,<br />and KubeSpan handles the node-to-node traffic.<br />If enabled, KubeSpan will take over pod-to-pod traffic and send it over KubeSpan directly.<br />When enabled, KubeSpan should have a way to detect complete pod CIDRs of the node which<br />is not always the case with CNIs not relying on Kubernetes for IPAM.</details> |          |
| `allowDownPeerBypass`         | bool                                                                   | <details><summary>Skip sending traffic via KubeSpan if the peer connection state is not up.</summary>This provides configurable choice between connectivity and security: either traffic is always<br />forced to go via KubeSpan (even if Wireguard peer connection is not up), or traffic can go directly<br />to the peer if Wireguard connection can't be established.</details>                                                                                                                                                     |          |
| `harvestExtraEndpoints`       | bool                                                                   | <details><summary>KubeSpan can collect and publish extra endpoints for each member of the cluster</summary>based on Wireguard endpoint information for each peer.<br />This feature is disabled by default, don't enable it<br />with high number of peers (>50) in the KubeSpan network (performance issues).</details>                                                                                                                                                                                                                 |          |
| `mtu`                         | uint32                                                                 | <details><summary>KubeSpan link MTU size.</summary>Default value is 1420.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                      |          |
| `filters`                     | <a href="#Config.machine.network.kubespan.filters">KubeSpanFilters</a> | <details><summary>KubeSpan advanced filtering of network addresses .</summary><br />Settings in this section are optional, and settings apply only to the node.</details>                                                                                                                                                                                                                                                                                                                                                                |          |

##### filters

KubeSpanFilters struct describes KubeSpan advanced network addresses filtering.

| Field       | Type      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                            | Value(s) |
| ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `endpoints` | \[]string | <details><summary>Filter node addresses which will be advertised as KubeSpan endpoints for peer-to-peer Wireguard connections.</summary><br />By default, all addresses are advertised, and KubeSpan cycles through all endpoints until it finds one that works.<br /><br />Default value: no filtering.</details> <details><summary>Show example(s)</summary>`endpoints:`<br />`  - 0.0.0.0/0`<br />`  - '!192.168.0.0/16'`<br />`  - ::/0`</details> |          |

### install

InstallConfig represents the installation options for preparing a node.

```yaml
machine:
    install:
        disk: /dev/sda # The disk used for installations.
        # Allows for supplying extra kernel args via the bootloader.
        extraKernelArgs:
            - console=ttyS1
            - panic=10
        image: ghcr.io/siderolabs/installer:latest # Allows for supplying the image used to perform the installation.
        wipe: false # Indicates if the installation disk should be wiped at installation time.

        # # Look up disk using disk attributes like model, size, serial and others.
        # diskSelector:
        #     size: 4GB # Disk size.
        #     model: WDC* # Disk model `/sys/block/<dev>/device/model`.
        #     busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0 # Disk bus path.
```

| Field               | Type                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Value(s)                                       |
| ------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| `disk`              | string                                                                 | The disk used for installations. <details><summary>Show example(s)</summary>`disk: /dev/sda`<br /><br />`disk: /dev/nvme0`</details>                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                |
| `diskSelector`      | <a href="#Config.machine.install.diskSelector">InstallDiskSelector</a> | <details><summary>Look up disk using disk attributes like model, size, serial and others.</summary>Always has priority over `disk`.</details> <details><summary>Show example(s)</summary>`diskSelector:`<br />`  size: '>= 1TB' # Disk size.`<br />`  model: WDC* # Disk model /sys/block/<dev>/device/model.`<br /><br />`  # # Disk bus path.`<br />`  # busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0`<br />`  # busPath: /pci0000:00/*`</details>                                                                             |                                                |
| `extraKernelArgs`   | \[]string                                                              | <details><summary>Allows for supplying extra kernel args via the bootloader.</summary>Existing kernel args can be removed by prefixing the argument with a `-`.<br />For example `-console` removes all `console=<value>` arguments, whereas `-console=tty0` removes the `console=tty0` default argument.<br />If Talos is using systemd-boot as a bootloader (default for UEFI) this setting will be ignored.</details> <details><summary>Show example(s)</summary>`extraKernelArgs:`<br />`  - talos.platform=metal`<br />`  - reboot=k`</details> |                                                |
| `image`             | string                                                                 | <details><summary>Allows for supplying the image used to perform the installation.</summary>Image reference for each Talos release can be found on<br />[GitHub releases page](https://github.com/siderolabs/talos/releases).</details> <details><summary>Show example(s)</summary>`image: ghcr.io/siderolabs/installer:latest`</details>                                                                                                                                                                                                            |                                                |
| `wipe`              | bool                                                                   | <details><summary>Indicates if the installation disk should be wiped at installation time.</summary>Defaults to `true`.</details>                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`<br />`yes`<br />`false`<br />`no`<br /> |
| `legacyBIOSSupport` | bool                                                                   | <details><summary>Indicates if MBR partition should be marked as bootable (active).</summary>Should be enabled only for the systems with legacy BIOS that doesn't support GPT partitioning scheme.</details>                                                                                                                                                                                                                                                                                                                                         |                                                |

#### diskSelector

InstallDiskSelector represents a disk query parameters for the install disk lookup.

```yaml
machine:
    install:
        diskSelector:
            size: '>= 1TB' # Disk size.
            model: WDC* # Disk model `/sys/block/<dev>/device/model`.

            # # Disk bus path.
            # busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0
            # busPath: /pci0000:00/*
```

| Field      | Type                   | Description                                                                                                                                                                | Value(s)                                     |
| ---------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| `size`     | InstallDiskSizeMatcher | Disk size. <details><summary>Show example(s)</summary>`size: 4GB`<br /><br />`size: '> 1TB'`<br /><br />`size: <= 2TB`</details>                                           |                                              |
| `name`     | string                 | Disk name `/sys/block/<dev>/device/name`.                                                                                                                                  |                                              |
| `model`    | string                 | Disk model `/sys/block/<dev>/device/model`.                                                                                                                                |                                              |
| `serial`   | string                 | Disk serial number `/sys/block/<dev>/serial`.                                                                                                                              |                                              |
| `modalias` | string                 | Disk modalias `/sys/block/<dev>/device/modalias`.                                                                                                                          |                                              |
| `uuid`     | string                 | Disk UUID `/sys/block/<dev>/uuid`.                                                                                                                                         |                                              |
| `wwid`     | string                 | Disk WWID `/sys/block/<dev>/wwid`.                                                                                                                                         |                                              |
| `type`     | InstallDiskType        | Disk Type.                                                                                                                                                                 | `ssd`<br />`hdd`<br />`nvme`<br />`sd`<br /> |
| `busPath`  | string                 | Disk bus path. <details><summary>Show example(s)</summary>`busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0`<br /><br />`busPath: /pci0000:00/*`</details> |                                              |

### files\[]

MachineFile represents a file to write to disk.

```yaml
machine:
    files:
        - content: '...' # The contents of the file.
          permissions: 0o666 # The file's permissions in octal.
          path: /tmp/file.txt # The path of the file.
          op: append # The operation to use
```

| Field         | Type     | Description                      | Value(s)                                      |
| ------------- | -------- | -------------------------------- | --------------------------------------------- |
| `content`     | string   | The contents of the file.        |                                               |
| `permissions` | FileMode | The file's permissions in octal. |                                               |
| `path`        | string   | The path of the file.            |                                               |
| `op`          | string   | The operation to use             | `create`<br />`append`<br />`overwrite`<br /> |

### time

TimeConfig represents the options for configuring time on a machine.

```yaml
machine:
    time:
        disabled: false # Indicates if the time service is disabled for the machine.
        # description: |
        servers:
            - time.cloudflare.com
        bootTimeout: 2m0s # Specifies the timeout when the node time is considered to be in sync unlocking the boot sequence.
```

| Field         | Type      | Description                                                                                                                                                                                                                                                                                                 | Value(s) |
| ------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `disabled`    | bool      | <details><summary>Indicates if the time service is disabled for the machine.</summary>Defaults to `false`.</details>                                                                                                                                                                                        |          |
| `servers`     | \[]string | <details><summary>Specifies time (NTP) servers to use for setting the system time.</summary>Defaults to `time.cloudflare.com`.<br /><br />Talos can also sync to the PTP time source (e.g provided by the hypervisor),<br />provide the path to the PTP device as "/dev/ptp0" or "/dev/ptp\_kvm".</details> |          |
| `bootTimeout` | Duration  | <details><summary>Specifies the timeout when the node time is considered to be in sync unlocking the boot sequence.</summary>NTP sync will be still running in the background.<br />Defaults to "infinity" (waiting forever for time sync)</details>                                                        |          |

### registries

RegistriesConfig represents the image pull options.

```yaml
machine:
    registries:
        # Specifies mirror configuration for each registry host namespace.
        mirrors:
            docker.io:
                # List of endpoints (URLs) for registry mirrors to use.
                endpoints:
                    - https://registry.local
        # Specifies TLS & auth configuration for HTTPS image registries.
        config:
            registry.local:
                # The TLS configuration for the registry.
                tls:
                    # Enable mutual TLS authentication with the registry.
                    clientIdentity:
                        crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
                        key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
                # The auth configuration for this registry.
                auth:
                    username: username # Optional registry authentication.
                    password: password # Optional registry authentication.
```

| Field     | Type                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Value(s) |
| --------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `mirrors` | <a href="#Config.machine.registries.mirrors.-">map\[string]RegistryMirrorConfig</a> | <details><summary>Specifies mirror configuration for each registry host namespace.</summary>This setting allows to configure local pull-through caching registires,<br />air-gapped installations, etc.<br /><br />For example, when pulling an image with the reference `example.com:123/image:v1`,<br />the `example.com:123` key will be used to lookup the mirror configuration.<br /><br />Optionally the `*` key can be used to configure a fallback mirror.<br /><br />Registry name is the first segment of image identifier, with 'docker.io'<br />being default one.</details> <details><summary>Show example(s)</summary>`mirrors:`<br />`  ghcr.io:`<br />`    # List of endpoints (URLs) for registry mirrors to use.`<br />`    endpoints:`<br />`      - https://registry.insecure`<br />`      - https://ghcr.io/v2/`</details>                                                                                                                                                                                                                                                                                                           |          |
| `config`  | <a href="#Config.machine.registries.config.-">map\[string]RegistryConfig</a>        | <details><summary>Specifies TLS & auth configuration for HTTPS image registries.</summary>Mutual TLS can be enabled with 'clientIdentity' option.<br /><br />The full hostname and port (if not using a default port 443)<br />should be used as the key.<br />The fallback key `*` can't be used for TLS configuration.<br /><br />TLS configuration can be skipped if registry has trusted<br />server certificate.</details> <details><summary>Show example(s)</summary>`config:`<br />`  registry.insecure:`<br />`    # The TLS configuration for the registry.`<br />`    tls:`<br />`      insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).`<br /><br />`      # # Enable mutual TLS authentication with the registry.`<br />`      # clientIdentity:`<br />`      #   crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`      #   key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`<br /><br />`    # # The auth configuration for this registry.`<br />`    # auth:`<br />`    #   username: username # Optional registry authentication.`<br />`    #   password: password # Optional registry authentication.`</details> |          |

#### mirrors.\*

RegistryMirrorConfig represents mirror configuration for a registry.

```yaml
machine:
    registries:
        mirrors:
            ghcr.io:
                # List of endpoints (URLs) for registry mirrors to use.
                endpoints:
                    - https://registry.insecure
                    - https://ghcr.io/v2/
```

| Field          | Type      | Description                                                                                                                                                                                                      | Value(s) |
| -------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `endpoints`    | \[]string | <details><summary>List of endpoints (URLs) for registry mirrors to use.</summary>Endpoint configures HTTP/HTTPS access mode, host name,<br />port and path (if path is not set, it defaults to `/v2`).</details> |          |
| `overridePath` | bool      | <details><summary>Use the exact path specified for the endpoint (don't append /v2/).</summary>This setting is often required for setting up multiple mirrors<br />on a single instance of a registry.</details>  |          |
| `skipFallback` | bool      | <details><summary>Skip fallback to the upstream endpoint, for example the mirror configuration</summary>for `docker.io` will not fallback to `registry-1.docker.io`.</details>                                   |          |

#### config.\*

RegistryConfig specifies auth & TLS config per registry.

```yaml
machine:
    registries:
        config:
            registry.insecure:
                # The TLS configuration for the registry.
                tls:
                    insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).

                    # # Enable mutual TLS authentication with the registry.
                    # clientIdentity:
                    #     crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
                    #     key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==

                # # The auth configuration for this registry.
                # auth:
                #     username: username # Optional registry authentication.
                #     password: password # Optional registry authentication.
```

| Field  | Type                                                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Value(s) |
| ------ | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `tls`  | <a href="#Config.machine.registries.config.-.tls">RegistryTLSConfig</a>   | The TLS configuration for the registry. <details><summary>Show example(s)</summary>`tls:`<br />`  # Enable mutual TLS authentication with the registry.`<br />`  clientIdentity:`<br />`    crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`    key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`<br /><br />`tls:`<br />`  insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).`<br /><br />`  # # Enable mutual TLS authentication with the registry.`<br />`  # clientIdentity:`<br />`  #   crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`  #   key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details> |          |
| `auth` | <a href="#Config.machine.registries.config.-.auth">RegistryAuthConfig</a> | <details><summary>The auth configuration for this registry.</summary>Note: changes to the registry auth will not be picked up by the CRI containerd plugin without a reboot.</details> <details><summary>Show example(s)</summary>`auth:`<br />`  username: username # Optional registry authentication.`<br />`  password: password # Optional registry authentication.`</details>                                                                                                                                                                                                                                     |          |

##### tls

RegistryTLSConfig specifies TLS config for HTTPS registries.

```yaml
machine:
    registries:
        config:
            example.com:
                tls:
                    # Enable mutual TLS authentication with the registry.
                    clientIdentity:
                        crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
                        key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
```

```yaml
machine:
    registries:
        config:
            example.com:
                tls:
                    insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).

                    # # Enable mutual TLS authentication with the registry.
                    # clientIdentity:
                    #     crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
                    #     key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
```

| Field                | Type                        | Description                                                                                                                                                                                                                                                                                                        | Value(s) |
| -------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `clientIdentity`     | PEMEncodedCertificateAndKey | <details><summary>Enable mutual TLS authentication with the registry.</summary>Client certificate and key should be base64-encoded.</details> <details><summary>Show example(s)</summary>`clientIdentity:`<br />`  crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`  key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details> |          |
| `ca`                 | Base64Bytes                 | <details><summary>CA registry certificate to add the list of trusted certificates.</summary>Certificate should be base64-encoded.</details>                                                                                                                                                                        |          |
| `insecureSkipVerify` | bool                        | Skip TLS server certificate verification (not recommended).                                                                                                                                                                                                                                                        |          |

##### auth

RegistryAuthConfig specifies authentication configuration for a registry.

```yaml
machine:
    registries:
        config:
            example.com:
                auth:
                    username: username # Optional registry authentication.
                    password: password # Optional registry authentication.
```

| Field           | Type   | Description                                                                                                                                                                                                                             | Value(s) |
| --------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `username`      | string | <details><summary>Optional registry authentication.</summary>The meaning of each field is the same with the corresponding field in [`.docker/config.json`](https://docs.docker.com/engine/api/v1.41/#section/Authentication).</details> |          |
| `password`      | string | <details><summary>Optional registry authentication.</summary>The meaning of each field is the same with the corresponding field in [`.docker/config.json`](https://docs.docker.com/engine/api/v1.41/#section/Authentication).</details> |          |
| `auth`          | string | <details><summary>Optional registry authentication.</summary>The meaning of each field is the same with the corresponding field in [`.docker/config.json`](https://docs.docker.com/engine/api/v1.41/#section/Authentication).</details> |          |
| `identityToken` | string | <details><summary>Optional registry authentication.</summary>The meaning of each field is the same with the corresponding field in [`.docker/config.json`](https://docs.docker.com/engine/api/v1.41/#section/Authentication).</details> |          |

### systemDiskEncryption

SystemDiskEncryptionConfig specifies system disk partitions encryption settings.

```yaml
machine:
    systemDiskEncryption:
        # Ephemeral partition encryption.
        ephemeral:
            provider: luks2 # Encryption provider to use for the encryption.
            # Defines the encryption keys generation and storage method.
            keys:
                - # Deterministically generated key from the node UUID and PartitionLabel.
                  nodeID: 
                  slot: 0 # Key slot number for LUKS2 encryption.

                  # # KMS managed encryption key.
                  # kms:
                  #     endpoint: https://192.168.88.21:4443 # KMS endpoint to Seal/Unseal the key.

            # # Cipher kind to use for the encryption. Depends on the encryption provider.
            # cipher: aes-xts-plain64

            # # Defines the encryption sector size.
            # blockSize: 4096

            # # Additional --perf parameters for the LUKS2 encryption.
            # options:
            #     - no_read_workqueue
            #     - no_write_workqueue
```

| Field       | Type                                                                          | Description                     | Value(s) |
| ----------- | ----------------------------------------------------------------------------- | ------------------------------- | -------- |
| `state`     | <a href="#Config.machine.systemDiskEncryption.state">EncryptionConfig</a>     | State partition encryption.     |          |
| `ephemeral` | <a href="#Config.machine.systemDiskEncryption.ephemeral">EncryptionConfig</a> | Ephemeral partition encryption. |          |

#### state

EncryptionConfig represents partition encryption settings.

| Field       | Type                                                                            | Description                                                                                                                                                                       | Value(s)                                                                                            |
| ----------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| `provider`  | string                                                                          | Encryption provider to use for the encryption. <details><summary>Show example(s)</summary>`provider: luks2`</details>                                                             |                                                                                                     |
| `keys`      | <a href="#Config.machine.systemDiskEncryption.state.keys.">\[]EncryptionKey</a> | Defines the encryption keys generation and storage method.                                                                                                                        |                                                                                                     |
| `cipher`    | string                                                                          | Cipher kind to use for the encryption. Depends on the encryption provider. <details><summary>Show example(s)</summary>`cipher: aes-xts-plain64`</details>                         | `aes-xts-plain64`<br />`xchacha12,aes-adiantum-plain64`<br />`xchacha20,aes-adiantum-plain64`<br /> |
| `keySize`   | uint                                                                            | Defines the encryption key length.                                                                                                                                                |                                                                                                     |
| `blockSize` | uint64                                                                          | Defines the encryption sector size. <details><summary>Show example(s)</summary>`blockSize: 4096`</details>                                                                        |                                                                                                     |
| `options`   | \[]string                                                                       | Additional --perf parameters for the LUKS2 encryption. <details><summary>Show example(s)</summary>`options:`<br />`  - no_read_workqueue`<br />`  - no_write_workqueue`</details> | `no_read_workqueue`<br />`no_write_workqueue`<br />`same_cpu_crypt`<br />                           |

##### keys\[]

EncryptionKey represents configuration for disk encryption key.

| Field    | Type                                                                                      | Description                                                                                                                                                                  | Value(s) |
| -------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `static` | <a href="#Config.machine.systemDiskEncryption.state.keys..static">EncryptionKeyStatic</a> | Key which value is stored in the configuration file.                                                                                                                         |          |
| `nodeID` | <a href="#Config.machine.systemDiskEncryption.state.keys..nodeID">EncryptionKeyNodeID</a> | Deterministically generated key from the node UUID and PartitionLabel.                                                                                                       |          |
| `kms`    | <a href="#Config.machine.systemDiskEncryption.state.keys..kms">EncryptionKeyKMS</a>       | KMS managed encryption key. <details><summary>Show example(s)</summary>`kms:`<br />`  endpoint: https://192.168.88.21:4443 # KMS endpoint to Seal/Unseal the key.`</details> |          |
| `slot`   | int                                                                                       | Key slot number for LUKS2 encryption.                                                                                                                                        |          |
| `tpm`    | <a href="#Config.machine.systemDiskEncryption.state.keys..tpm">EncryptionKeyTPM</a>       | Enable TPM based disk encryption.                                                                                                                                            |          |

###### static

EncryptionKeyStatic represents throw away key type.

| Field        | Type   | Description                          | Value(s) |
| ------------ | ------ | ------------------------------------ | -------- |
| `passphrase` | string | Defines the static passphrase value. |          |

###### nodeID

EncryptionKeyNodeID represents deterministically generated key from the node UUID and PartitionLabel.

###### kms

EncryptionKeyKMS represents a key that is generated and then sealed/unsealed by the KMS server.

```yaml
machine:
    systemDiskEncryption:
        state:
            keys:
                - kms:
                    endpoint: https://192.168.88.21:4443 # KMS endpoint to Seal/Unseal the key.
```

| Field      | Type   | Description                          | Value(s) |
| ---------- | ------ | ------------------------------------ | -------- |
| `endpoint` | string | KMS endpoint to Seal/Unseal the key. |          |

###### tpm

EncryptionKeyTPM represents a key that is generated and then sealed/unsealed by the TPM.

| Field                           | Type | Description                                                                                                                                                                                                                                                                                                               | Value(s) |
| ------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `checkSecurebootStatusOnEnroll` | bool | <details><summary>Check that Secureboot is enabled in the EFI firmware.</summary>If Secureboot is not enabled, the enrollment of the key will fail. As the TPM key is anyways bound to the value of PCR 7, changing Secureboot status or configuration after the initial enrollment will make the key unusable.</details> |          |

#### ephemeral

EncryptionConfig represents partition encryption settings.

| Field       | Type                                                                                | Description                                                                                                                                                                       | Value(s)                                                                                            |
| ----------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| `provider`  | string                                                                              | Encryption provider to use for the encryption. <details><summary>Show example(s)</summary>`provider: luks2`</details>                                                             |                                                                                                     |
| `keys`      | <a href="#Config.machine.systemDiskEncryption.ephemeral.keys.">\[]EncryptionKey</a> | Defines the encryption keys generation and storage method.                                                                                                                        |                                                                                                     |
| `cipher`    | string                                                                              | Cipher kind to use for the encryption. Depends on the encryption provider. <details><summary>Show example(s)</summary>`cipher: aes-xts-plain64`</details>                         | `aes-xts-plain64`<br />`xchacha12,aes-adiantum-plain64`<br />`xchacha20,aes-adiantum-plain64`<br /> |
| `keySize`   | uint                                                                                | Defines the encryption key length.                                                                                                                                                |                                                                                                     |
| `blockSize` | uint64                                                                              | Defines the encryption sector size. <details><summary>Show example(s)</summary>`blockSize: 4096`</details>                                                                        |                                                                                                     |
| `options`   | \[]string                                                                           | Additional --perf parameters for the LUKS2 encryption. <details><summary>Show example(s)</summary>`options:`<br />`  - no_read_workqueue`<br />`  - no_write_workqueue`</details> | `no_read_workqueue`<br />`no_write_workqueue`<br />`same_cpu_crypt`<br />                           |

##### keys\[]

EncryptionKey represents configuration for disk encryption key.

| Field    | Type                                                                                          | Description                                                                                                                                                                  | Value(s) |
| -------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `static` | <a href="#Config.machine.systemDiskEncryption.ephemeral.keys..static">EncryptionKeyStatic</a> | Key which value is stored in the configuration file.                                                                                                                         |          |
| `nodeID` | <a href="#Config.machine.systemDiskEncryption.ephemeral.keys..nodeID">EncryptionKeyNodeID</a> | Deterministically generated key from the node UUID and PartitionLabel.                                                                                                       |          |
| `kms`    | <a href="#Config.machine.systemDiskEncryption.ephemeral.keys..kms">EncryptionKeyKMS</a>       | KMS managed encryption key. <details><summary>Show example(s)</summary>`kms:`<br />`  endpoint: https://192.168.88.21:4443 # KMS endpoint to Seal/Unseal the key.`</details> |          |
| `slot`   | int                                                                                           | Key slot number for LUKS2 encryption.                                                                                                                                        |          |
| `tpm`    | <a href="#Config.machine.systemDiskEncryption.ephemeral.keys..tpm">EncryptionKeyTPM</a>       | Enable TPM based disk encryption.                                                                                                                                            |          |

###### static

EncryptionKeyStatic represents throw away key type.

| Field        | Type   | Description                          | Value(s) |
| ------------ | ------ | ------------------------------------ | -------- |
| `passphrase` | string | Defines the static passphrase value. |          |

###### nodeID

EncryptionKeyNodeID represents deterministically generated key from the node UUID and PartitionLabel.

###### kms

EncryptionKeyKMS represents a key that is generated and then sealed/unsealed by the KMS server.

```yaml
machine:
    systemDiskEncryption:
        ephemeral:
            keys:
                - kms:
                    endpoint: https://192.168.88.21:4443 # KMS endpoint to Seal/Unseal the key.
```

| Field      | Type   | Description                          | Value(s) |
| ---------- | ------ | ------------------------------------ | -------- |
| `endpoint` | string | KMS endpoint to Seal/Unseal the key. |          |

###### tpm

EncryptionKeyTPM represents a key that is generated and then sealed/unsealed by the TPM.

| Field                           | Type | Description                                                                                                                                                                                                                                                                                                               | Value(s) |
| ------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `checkSecurebootStatusOnEnroll` | bool | <details><summary>Check that Secureboot is enabled in the EFI firmware.</summary>If Secureboot is not enabled, the enrollment of the key will fail. As the TPM key is anyways bound to the value of PCR 7, changing Secureboot status or configuration after the initial enrollment will make the key unusable.</details> |          |

### features

FeaturesConfig describes individual Talos features that can be switched on or off.

```yaml
machine:
    features:
        rbac: true # Enable role-based access control (RBAC).

        # # Configure Talos API access from Kubernetes pods.
        # kubernetesTalosAPIAccess:
        #     enabled: true # Enable Talos API access from Kubernetes pods.
        #     # The list of Talos API roles which can be granted for access from Kubernetes pods.
        #     allowedRoles:
        #         - os:reader
        #     # The list of Kubernetes namespaces Talos API access is available from.
        #     allowedKubernetesNamespaces:
        #         - kube-system
```

| Field                      | Type                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Value(s) |
| -------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `rbac`                     | bool                                                                                           | Enable role-based access control (RBAC).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |          |
| `stableHostname`           | bool                                                                                           | Enable stable default hostname.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |          |
| `kubernetesTalosAPIAccess` | <a href="#Config.machine.features.kubernetesTalosAPIAccess">KubernetesTalosAPIAccessConfig</a> | <details><summary>Configure Talos API access from Kubernetes pods.</summary><br />This feature is disabled if the feature config is not specified.</details> <details><summary>Show example(s)</summary>`kubernetesTalosAPIAccess:`<br />`  enabled: true # Enable Talos API access from Kubernetes pods.`<br />`  # The list of Talos API roles which can be granted for access from Kubernetes pods.`<br />`  allowedRoles:`<br />`    - os:reader`<br />`  # The list of Kubernetes namespaces Talos API access is available from.`<br />`  allowedKubernetesNamespaces:`<br />`    - kube-system`</details> |          |
| `apidCheckExtKeyUsage`     | bool                                                                                           | Enable checks for extended key usage of client certificates in apid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |          |
| `diskQuotaSupport`         | bool                                                                                           | <details><summary>Enable XFS project quota support for EPHEMERAL partition and user disks.</summary>Also enables kubelet tracking of ephemeral disk usage in the kubelet via quota.</details>                                                                                                                                                                                                                                                                                                                                                                                                                   |          |
| `kubePrism`                | <a href="#Config.machine.features.kubePrism">KubePrism</a>                                     | <details><summary>KubePrism - local proxy/load balancer on defined port that will distribute</summary>requests to all API servers in the cluster.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                     |          |
| `hostDNS`                  | <a href="#Config.machine.features.hostDNS">HostDNSConfig</a>                                   | Configures host DNS caching resolver.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |          |
| `imageCache`               | <a href="#Config.machine.features.imageCache">ImageCacheConfig</a>                             | Enable Image Cache feature.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |          |
| `nodeAddressSortAlgorithm` | string                                                                                         | <details><summary>Select the node address sort algorithm.</summary>The 'v1' algorithm sorts addresses by the address itself.<br />The 'v2' algorithm prefers more specific prefixes.<br />If unset, defaults to 'v1'.</details>                                                                                                                                                                                                                                                                                                                                                                                 |          |

#### kubernetesTalosAPIAccess

KubernetesTalosAPIAccessConfig describes the configuration for the Talos API access from Kubernetes pods.

```yaml
machine:
    features:
        kubernetesTalosAPIAccess:
            enabled: true # Enable Talos API access from Kubernetes pods.
            # The list of Talos API roles which can be granted for access from Kubernetes pods.
            allowedRoles:
                - os:reader
            # The list of Kubernetes namespaces Talos API access is available from.
            allowedKubernetesNamespaces:
                - kube-system
```

| Field                         | Type      | Description                                                                                                                                                                                       | Value(s) |
| ----------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `enabled`                     | bool      | Enable Talos API access from Kubernetes pods.                                                                                                                                                     |          |
| `allowedRoles`                | \[]string | <details><summary>The list of Talos API roles which can be granted for access from Kubernetes pods.</summary><br />Empty list means that no roles can be granted, so access is blocked.</details> |          |
| `allowedKubernetesNamespaces` | \[]string | The list of Kubernetes namespaces Talos API access is available from.                                                                                                                             |          |

#### kubePrism

KubePrism describes the configuration for the KubePrism load balancer.

| Field     | Type | Description                                                       | Value(s) |
| --------- | ---- | ----------------------------------------------------------------- | -------- |
| `enabled` | bool | Enable KubePrism support - will start local load balancing proxy. |          |
| `port`    | int  | KubePrism port.                                                   |          |

#### hostDNS

HostDNSConfig describes the configuration for the host DNS resolver.

| Field                  | Type | Description                                                                                                                                                                                                                                          | Value(s) |
| ---------------------- | ---- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `enabled`              | bool | Enable host DNS caching resolver.                                                                                                                                                                                                                    |          |
| `forwardKubeDNSToHost` | bool | <details><summary>Use the host DNS resolver as upstream for Kubernetes CoreDNS pods.</summary><br />When enabled, CoreDNS pods use host DNS server as the upstream DNS (instead of<br />using configured upstream DNS resolvers directly).</details> |          |
| `resolveMemberNames`   | bool | <details><summary>Resolve member hostnames using the host DNS resolver.</summary><br />When enabled, cluster member hostnames and node names are resolved using the host DNS resolver.<br />This requires service discovery to be enabled.</details> |          |

#### imageCache

ImageCacheConfig describes the configuration for the Image Cache feature.

| Field          | Type | Description               | Value(s) |
| -------------- | ---- | ------------------------- | -------- |
| `localEnabled` | bool | Enable local image cache. |          |

### udev

UdevConfig describes how the udev system should be configured.

```yaml
machine:
    udev:
        # List of udev rules to apply to the udev system
        rules:
            - SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"
```

| Field   | Type      | Description                                    | Value(s) |
| ------- | --------- | ---------------------------------------------- | -------- |
| `rules` | \[]string | List of udev rules to apply to the udev system |          |

### logging

LoggingConfig struct configures Talos logging.

```yaml
machine:
    logging:
        # Logging destination.
        destinations:
            - endpoint: tcp://1.2.3.4:12345 # Where to send logs. Supported protocols are "tcp" and "udp".
              format: json_lines # Logs format.
```

| Field          | Type                                                                      | Description          | Value(s) |
| -------------- | ------------------------------------------------------------------------- | -------------------- | -------- |
| `destinations` | <a href="#Config.machine.logging.destinations.">\[]LoggingDestination</a> | Logging destination. |          |

#### destinations\[]

LoggingDestination struct configures Talos logging destination.

| Field       | Type                                                                  | Description                                                                                                                                                                                    | Value(s)           |
| ----------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `endpoint`  | <a href="#Config.machine.logging.destinations..endpoint">Endpoint</a> | Where to send logs. Supported protocols are "tcp" and "udp". <details><summary>Show example(s)</summary>`endpoint: udp://127.0.0.1:12345`<br /><br />`endpoint: tcp://1.2.3.4:12345`</details> |                    |
| `format`    | string                                                                | Logs format.                                                                                                                                                                                   | `json_lines`<br /> |
| `extraTags` | map\[string]string                                                    | Extra tags (key-value) pairs to attach to every log message sent.                                                                                                                              |                    |

##### endpoint

Endpoint represents the endpoint URL parsed out of the machine config.

```yaml
machine:
    logging:
        destinations:
            - endpoint: https://1.2.3.4:6443
```

```yaml
machine:
    logging:
        destinations:
            - endpoint: https://cluster1.internal:6443
```

```yaml
machine:
    logging:
        destinations:
            - endpoint: udp://127.0.0.1:12345
```

```yaml
machine:
    logging:
        destinations:
            - endpoint: tcp://1.2.3.4:12345
```

| Field | Type | Description | Value(s) |
| ----- | ---- | ----------- | -------- |

### kernel

KernelConfig struct configures Talos Linux kernel.

```yaml
machine:
    kernel:
        # Kernel modules to load.
        modules:
            - name: brtfs # Module name.
```

| Field     | Type                                                                | Description             | Value(s) |
| --------- | ------------------------------------------------------------------- | ----------------------- | -------- |
| `modules` | <a href="#Config.machine.kernel.modules.">\[]KernelModuleConfig</a> | Kernel modules to load. |          |

#### modules\[]

KernelModuleConfig struct configures Linux kernel modules to load.

| Field        | Type      | Description                                      | Value(s) |
| ------------ | --------- | ------------------------------------------------ | -------- |
| `name`       | string    | Module name.                                     |          |
| `parameters` | \[]string | Module parameters, changes applied after reboot. |          |

### seccompProfiles\[]

MachineSeccompProfile defines seccomp profiles for the machine.

```yaml
machine:
    seccompProfiles:
        - name: audit.json # The `name` field is used to provide the file name of the seccomp profile.
          # The `value` field is used to provide the seccomp profile.
          value:
            defaultAction: SCMP_ACT_LOG
```

| Field   | Type         | Description                                                               | Value(s) |
| ------- | ------------ | ------------------------------------------------------------------------- | -------- |
| `name`  | string       | The `name` field is used to provide the file name of the seccomp profile. |          |
| `value` | Unstructured | The `value` field is used to provide the seccomp profile.                 |          |

## cluster

ClusterConfig represents the cluster-wide config values.

```yaml
cluster:
    # ControlPlaneConfig represents the control plane configuration options.
    controlPlane:
        endpoint: https://1.2.3.4 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
        localAPIServerPort: 443 # The port that the API server listens on internally.
    clusterName: talos.local
    # ClusterNetworkConfig represents kube networking configuration options.
    network:
        # The CNI used.
        cni:
            name: flannel # Name of CNI to use.
        dnsDomain: cluster.local # The domain used by Kubernetes DNS.
        # The pod subnet CIDR.
        podSubnets:
            - 10.244.0.0/16
        # The service subnet CIDR.
        serviceSubnets:
            - 10.96.0.0/12
```

| Field                            | Type                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Value(s)                                       |
| -------------------------------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| `id`                             | string                                                                          | Globally unique identifier for this cluster (base64 encoded random 32 bytes).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                |
| `secret`                         | string                                                                          | <details><summary>Shared secret of cluster (base64 encoded random 32 bytes).</summary>This secret is shared among cluster members but should never be sent over the network.</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                |
| `controlPlane`                   | <a href="#Config.cluster.controlPlane">ControlPlaneConfig</a>                   | Provides control plane specific configuration options. <details><summary>Show example(s)</summary>`controlPlane:`<br />`  endpoint: https://1.2.3.4 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.`<br />`  localAPIServerPort: 443 # The port that the API server listens on internally.`</details>                                                                                                                                                                                                                                                                                        |                                                |
| `clusterName`                    | string                                                                          | Configures the cluster's name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                |
| `network`                        | <a href="#Config.cluster.network">ClusterNetworkConfig</a>                      | Provides cluster specific network configuration options. <details><summary>Show example(s)</summary>`network:`<br />`  # The CNI used.`<br />`  cni:`<br />`    name: flannel # Name of CNI to use.`<br />`  dnsDomain: cluster.local # The domain used by Kubernetes DNS.`<br />`  # The pod subnet CIDR.`<br />`  podSubnets:`<br />`    - 10.244.0.0/16`<br />`  # The service subnet CIDR.`<br />`  serviceSubnets:`<br />`    - 10.96.0.0/12`</details>                                                                                                                                                                                  |                                                |
| `token`                          | string                                                                          | The [bootstrap token](https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/) used to join the cluster. <details><summary>Show example(s)</summary>`token: wlzjyw.bei2zfylhs2by0wd`</details>                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                |
| `aescbcEncryptionSecret`         | string                                                                          | <details><summary>A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).</summary>Enables encryption with AESCBC.</details> <details><summary>Show example(s)</summary>`aescbcEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=`</details>                                                                                                                                                                                                                                                                                                                   |                                                |
| `secretboxEncryptionSecret`      | string                                                                          | <details><summary>A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).</summary>Enables encryption with secretbox.<br />Secretbox has precedence over AESCBC.</details> <details><summary>Show example(s)</summary>`secretboxEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=`</details>                                                                                                                                                                                                                                                                  |                                                |
| `ca`                             | PEMEncodedCertificateAndKey                                                     | The base64 encoded root certificate authority used by Kubernetes. <details><summary>Show example(s)</summary>`ca:`<br />`  crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`  key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details>                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                |
| `acceptedCAs`                    | \[]PEMEncodedCertificate                                                        | The list of base64 encoded accepted certificate authorities used by Kubernetes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                |
| `aggregatorCA`                   | PEMEncodedCertificateAndKey                                                     | <details><summary>The base64 encoded aggregator certificate authority used by Kubernetes for front-proxy certificate generation.</summary><br />This CA can be self-signed.</details> <details><summary>Show example(s)</summary>`aggregatorCA:`<br />`  crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`  key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details>                                                                                                                                                                                                                                                                                      |                                                |
| `serviceAccount`                 | PEMEncodedKey                                                                   | The base64 encoded private key for service account token generation. <details><summary>Show example(s)</summary>`serviceAccount:`<br />`  key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                |
| `apiServer`                      | <a href="#Config.cluster.apiServer">APIServerConfig</a>                         | API server specific configuration options. <details><summary>Show example(s)</summary>`apiServer:`<br />`  image: registry.k8s.io/kube-apiserver:v1.33.0 # The container image used in the API server manifest.`<br />`  # Extra arguments to supply to the API server.`<br />`  extraArgs:`<br />`    feature-gates: ServerSideApply=true`<br />`    http2-max-streams-per-connection: "32"`<br />`  # Extra certificate subject alternative names for the API server's certificate.`<br />`  certSANs:`<br />`    - 1.2.3.4`<br />`    - 4.5.6.7`</details>                                                                                 |                                                |
| `controllerManager`              | <a href="#Config.cluster.controllerManager">ControllerManagerConfig</a>         | Controller manager server specific configuration options. <details><summary>Show example(s)</summary>`controllerManager:`<br />`  image: registry.k8s.io/kube-controller-manager:v1.33.0 # The container image used in the controller manager manifest.`<br />`  # Extra arguments to supply to the controller manager.`<br />`  extraArgs:`<br />`    feature-gates: ServerSideApply=true`</details>                                                                                                                                                                                                                                         |                                                |
| `proxy`                          | <a href="#Config.cluster.proxy">ProxyConfig</a>                                 | Kube-proxy server-specific configuration options <details><summary>Show example(s)</summary>`proxy:`<br />`  image: registry.k8s.io/kube-proxy:v1.33.0 # The container image used in the kube-proxy manifest.`<br />`  mode: ipvs # proxy mode of kube-proxy.`<br />`  # Extra arguments to supply to kube-proxy.`<br />`  extraArgs:`<br />`    proxy-mode: iptables`</details>                                                                                                                                                                                                                                                              |                                                |
| `scheduler`                      | <a href="#Config.cluster.scheduler">SchedulerConfig</a>                         | Scheduler server specific configuration options. <details><summary>Show example(s)</summary>`scheduler:`<br />`  image: registry.k8s.io/kube-scheduler:v1.33.0 # The container image used in the scheduler manifest.`<br />`  # Extra arguments to supply to the scheduler.`<br />`  extraArgs:`<br />`    feature-gates: AllBeta=true`</details>                                                                                                                                                                                                                                                                                             |                                                |
| `discovery`                      | <a href="#Config.cluster.discovery">ClusterDiscoveryConfig</a>                  | Configures cluster member discovery. <details><summary>Show example(s)</summary>`discovery:`<br />`  enabled: true # Enable the cluster membership discovery feature.`<br />`  # Configure registries used for cluster member discovery.`<br />`  registries:`<br />`    # Kubernetes registry uses Kubernetes API server to discover cluster members and stores additional information`<br />`    kubernetes:`<br />`    # Service registry is using an external service to push and pull information about cluster members.`<br />`    service:`<br />`      endpoint: https://discovery.talos.dev/ # External service endpoint.`</details> |                                                |
| `etcd`                           | <a href="#Config.cluster.etcd">EtcdConfig</a>                                   | Etcd specific configuration options. <details><summary>Show example(s)</summary>`etcd:`<br />`  image: gcr.io/etcd-development/etcd:v3.5.21 # The container image used to create the etcd service.`<br />`  # The ca is the root certificate authority of the PKI.`<br />`  ca:`<br />`    crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`    key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`<br />`  # Extra arguments to supply to etcd.`<br />`  extraArgs:`<br />`    election-timeout: "5000"`</details>                                                                                                                                            |                                                |
| `coreDNS`                        | <a href="#Config.cluster.coreDNS">CoreDNS</a>                                   | Core DNS specific configuration options. <details><summary>Show example(s)</summary>`coreDNS:`<br />`  image: registry.k8s.io/coredns/coredns:v1.12.1 # The image field is an override to the default coredns image.`</details>                                                                                                                                                                                                                                                                                                                                                                                                               |                                                |
| `externalCloudProvider`          | <a href="#Config.cluster.externalCloudProvider">ExternalCloudProviderConfig</a> | External cloud provider configuration. <details><summary>Show example(s)</summary>`externalCloudProvider:`<br />`  enabled: true # Enable external cloud provider.`<br />`  # A list of urls that point to additional manifests for an external cloud provider.`<br />`  manifests:`<br />`    - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/rbac.yaml`<br />`    - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/aws-cloud-controller-manager-daemonset.yaml`</details>                                                                            |                                                |
| `extraManifests`                 | \[]string                                                                       | <details><summary>A list of urls that point to additional manifests.</summary>These will get automatically deployed as part of the bootstrap.</details> <details><summary>Show example(s)</summary>`extraManifests:`<br />`  - https://www.example.com/manifest1.yaml`<br />`  - https://www.example.com/manifest2.yaml`</details>                                                                                                                                                                                                                                                                                                            |                                                |
| `extraManifestHeaders`           | map\[string]string                                                              | A map of key value pairs that will be added while fetching the extraManifests. <details><summary>Show example(s)</summary>`extraManifestHeaders:`<br />`  Token: "1234567"`<br />`  X-ExtraInfo: info`</details>                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                |
| `inlineManifests`                | <a href="#Config.cluster.inlineManifests.">\[]ClusterInlineManifest</a>         | <details><summary>A list of inline Kubernetes manifests.</summary>These will get automatically deployed as part of the bootstrap.</details> <details><summary>Show example(s)</summary>`inlineManifests: [{ name: "namespace-ci", contents: "apiVersion: v1\nkind: Namespace\nmetadata:\n  name: ci" }]`</details>                                                                                                                                                                                                                                                                                                                            |                                                |
| `adminKubeconfig`                | <a href="#Config.cluster.adminKubeconfig">AdminKubeconfigConfig</a>             | <details><summary>Settings for admin kubeconfig generation.</summary>Certificate lifetime can be configured.</details> <details><summary>Show example(s)</summary>`adminKubeconfig:`<br />`  certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).`</details>                                                                                                                                                                                                                                                                                                                                                     |                                                |
| `allowSchedulingOnControlPlanes` | bool                                                                            | Allows running workload on control-plane nodes. <details><summary>Show example(s)</summary>`allowSchedulingOnControlPlanes: true`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`<br />`yes`<br />`false`<br />`no`<br /> |

### controlPlane

ControlPlaneConfig represents the control plane configuration options.

```yaml
cluster:
    controlPlane:
        endpoint: https://1.2.3.4 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
        localAPIServerPort: 443 # The port that the API server listens on internally.
```

| Field                | Type                                                         | Description                                                                                                                                                                                                                                                                                                                                    | Value(s) |
| -------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `endpoint`           | <a href="#Config.cluster.controlPlane.endpoint">Endpoint</a> | <details><summary>Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.</summary>It is single-valued, and may optionally include a port number.</details> <details><summary>Show example(s)</summary>`endpoint: https://1.2.3.4:6443`<br /><br />`endpoint: https://cluster1.internal:6443`</details> |          |
| `localAPIServerPort` | int                                                          | <details><summary>The port that the API server listens on internally.</summary>This may be different than the port portion listed in the endpoint field above.<br />The default is `6443`.</details>                                                                                                                                           |          |

#### endpoint

Endpoint represents the endpoint URL parsed out of the machine config.

```yaml
cluster:
    controlPlane:
        endpoint: https://1.2.3.4:6443
```

```yaml
cluster:
    controlPlane:
        endpoint: https://cluster1.internal:6443
```

```yaml
cluster:
    controlPlane:
        endpoint: udp://127.0.0.1:12345
```

```yaml
cluster:
    controlPlane:
        endpoint: tcp://1.2.3.4:12345
```

| Field | Type | Description | Value(s) |
| ----- | ---- | ----------- | -------- |

### network

ClusterNetworkConfig represents kube networking configuration options.

```yaml
cluster:
    network:
        # The CNI used.
        cni:
            name: flannel # Name of CNI to use.
        dnsDomain: cluster.local # The domain used by Kubernetes DNS.
        # The pod subnet CIDR.
        podSubnets:
            - 10.244.0.0/16
        # The service subnet CIDR.
        serviceSubnets:
            - 10.96.0.0/12
```

| Field            | Type                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Value(s) |
| ---------------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `cni`            | <a href="#Config.cluster.network.cni">CNIConfig</a> | <details><summary>The CNI used.</summary>Composed of "name" and "urls".<br />The "name" key supports the following options: "flannel", "custom", and "none".<br />"flannel" uses Talos-managed Flannel CNI, and that's the default option.<br />"custom" uses custom manifests that should be provided in "urls".<br />"none" indicates that Talos will not manage any CNI installation.</details> <details><summary>Show example(s)</summary>`cni:`<br />`  name: custom # Name of CNI to use.`<br />`  # URLs containing manifests to apply for the CNI.`<br />`  urls:`<br />`    - https://docs.projectcalico.org/archive/v3.20/manifests/canal.yaml`</details> |          |
| `dnsDomain`      | string                                              | <details><summary>The domain used by Kubernetes DNS.</summary>The default is `cluster.local`</details> <details><summary>Show example(s)</summary>`dnsDomain: cluster.local`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |          |
| `podSubnets`     | \[]string                                           | The pod subnet CIDR. <details><summary>Show example(s)</summary>`podSubnets:`<br />`  - 10.244.0.0/16`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |          |
| `serviceSubnets` | \[]string                                           | The service subnet CIDR. <details><summary>Show example(s)</summary>`serviceSubnets:`<br />`  - 10.96.0.0/12`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |          |

#### cni

CNIConfig represents the CNI configuration options.

```yaml
cluster:
    network:
        cni:
            name: custom # Name of CNI to use.
            # URLs containing manifests to apply for the CNI.
            urls:
                - https://docs.projectcalico.org/archive/v3.20/manifests/canal.yaml
```

| Field     | Type                                                               | Description                                                                                                                                                  | Value(s)                                  |
| --------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
| `name`    | string                                                             | Name of CNI to use.                                                                                                                                          | `flannel`<br />`custom`<br />`none`<br /> |
| `urls`    | \[]string                                                          | <details><summary>URLs containing manifests to apply for the CNI.</summary>Should be present for "custom", must be empty for "flannel" and "none".</details> |                                           |
| `flannel` | <a href="#Config.cluster.network.cni.flannel">FlannelCNIConfig</a> | <details><summary>Flannel configuration options.</summary></details>                                                                                         |                                           |

##### flannel

FlannelCNIConfig represents the Flannel CNI configuration options.

| Field       | Type      | Description                                                                                                                                | Value(s) |
| ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `extraArgs` | \[]string | Extra arguments for 'flanneld'. <details><summary>Show example(s)</summary>`extraArgs:`<br />`  - --iface-can-reach=192.168.1.1`</details> |          |

### apiServer

APIServerConfig represents the kube apiserver configuration options.

```yaml
cluster:
    apiServer:
        image: registry.k8s.io/kube-apiserver:v1.33.0 # The container image used in the API server manifest.
        # Extra arguments to supply to the API server.
        extraArgs:
            feature-gates: ServerSideApply=true
            http2-max-streams-per-connection: "32"
        # Extra certificate subject alternative names for the API server's certificate.
        certSANs:
            - 1.2.3.4
            - 4.5.6.7

        # # Configure the API server admission plugins.
        # admissionControl:
        #     - name: PodSecurity # Name is the name of the admission controller.
        #       # Configuration is an embedded configuration object to be used as the plugin's
        #       configuration:
        #         apiVersion: pod-security.admission.config.k8s.io/v1alpha1
        #         defaults:
        #             audit: restricted
        #             audit-version: latest
        #             enforce: baseline
        #             enforce-version: latest
        #             warn: restricted
        #             warn-version: latest
        #         exemptions:
        #             namespaces:
        #                 - kube-system
        #             runtimeClasses: []
        #             usernames: []
        #         kind: PodSecurityConfiguration

        # # Configure the API server audit policy.
        # auditPolicy:
        #     apiVersion: audit.k8s.io/v1
        #     kind: Policy
        #     rules:
        #         - level: Metadata

        # # Configure the API server authorization config. Node and RBAC authorizers are always added irrespective of the configuration.
        # authorizationConfig:
        #     - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
        #       name: webhook # Name is used to describe the authorizer.
        #       # webhook is the configuration for the webhook authorizer.
        #       webhook:
        #         connectionInfo:
        #             type: InClusterConfig
        #         failurePolicy: Deny
        #         matchConditionSubjectAccessReviewVersion: v1
        #         matchConditions:
        #             - expression: has(request.resourceAttributes)
        #             - expression: '!(\''system:serviceaccounts:kube-system\'' in request.groups)'
        #         subjectAccessReviewVersion: v1
        #         timeout: 3s
        #     - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
        #       name: in-cluster-authorizer # Name is used to describe the authorizer.
        #       # webhook is the configuration for the webhook authorizer.
        #       webhook:
        #         connectionInfo:
        #             type: InClusterConfig
        #         failurePolicy: NoOpinion
        #         matchConditionSubjectAccessReviewVersion: v1
        #         subjectAccessReviewVersion: v1
        #         timeout: 3s
```

| Field                      | Type                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Value(s) |
| -------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `image`                    | string                                                                                              | The container image used in the API server manifest. <details><summary>Show example(s)</summary>`image: registry.k8s.io/kube-apiserver:v1.33.0`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |          |
| `extraArgs`                | map\[string]string                                                                                  | Extra arguments to supply to the API server.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |          |
| `extraVolumes`             | <a href="#Config.cluster.apiServer.extraVolumes.">\[]VolumeMountConfig</a>                          | Extra volumes to mount to the API server static pod.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |          |
| `env`                      | Env                                                                                                 | The `env` field allows for the addition of environment variables for the control plane component.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |          |
| `certSANs`                 | \[]string                                                                                           | Extra certificate subject alternative names for the API server's certificate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |          |
| `disablePodSecurityPolicy` | bool                                                                                                | Disable PodSecurityPolicy in the API server and default manifests.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |          |
| `admissionControl`         | <a href="#Config.cluster.apiServer.admissionControl.">\[]AdmissionPluginConfig</a>                  | Configure the API server admission plugins. <details><summary>Show example(s)</summary>`admissionControl:`<br />`  - name: PodSecurity # Name is the name of the admission controller.`<br />`    # Configuration is an embedded configuration object to be used as the plugin's`<br />`    configuration:`<br />`      apiVersion: pod-security.admission.config.k8s.io/v1alpha1`<br />`      defaults:`<br />`        audit: restricted`<br />`        audit-version: latest`<br />`        enforce: baseline`<br />`        enforce-version: latest`<br />`        warn: restricted`<br />`        warn-version: latest`<br />`      exemptions:`<br />`        namespaces:`<br />`          - kube-system`<br />`        runtimeClasses: []`<br />`        usernames: []`<br />`      kind: PodSecurityConfiguration`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |          |
| `auditPolicy`              | Unstructured                                                                                        | Configure the API server audit policy. <details><summary>Show example(s)</summary>`auditPolicy:`<br />`  apiVersion: audit.k8s.io/v1`<br />`  kind: Policy`<br />`  rules:`<br />`    - level: Metadata`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |          |
| `resources`                | <a href="#Config.cluster.apiServer.resources">ResourcesConfig</a>                                   | Configure the API server resources.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |          |
| `authorizationConfig`      | <a href="#Config.cluster.apiServer.authorizationConfig.">\[]AuthorizationConfigAuthorizerConfig</a> | Configure the API server authorization config. Node and RBAC authorizers are always added irrespective of the configuration. <details><summary>Show example(s)</summary>`authorizationConfig:`<br />`  - type: Webhook # Type is the name of the authorizer. Allowed values are Node, RBAC, and Webhook.`<br />`    name: webhook # Name is used to describe the authorizer.`<br />`    # webhook is the configuration for the webhook authorizer.`<br />`    webhook:`<br />`      connectionInfo:`<br />`        type: InClusterConfig`<br />`      failurePolicy: Deny`<br />`      matchConditionSubjectAccessReviewVersion: v1`<br />`      matchConditions:`<br />`        - expression: has(request.resourceAttributes)`<br />`        - expression: '!(''system:serviceaccounts:kube-system'' in request.groups)'`<br />`      subjectAccessReviewVersion: v1`<br />`      timeout: 3s`<br />`  - type: Webhook # Type is the name of the authorizer. Allowed values are Node, RBAC, and Webhook.`<br />`    name: in-cluster-authorizer # Name is used to describe the authorizer.`<br />`    # webhook is the configuration for the webhook authorizer.`<br />`    webhook:`<br />`      connectionInfo:`<br />`        type: InClusterConfig`<br />`      failurePolicy: NoOpinion`<br />`      matchConditionSubjectAccessReviewVersion: v1`<br />`      subjectAccessReviewVersion: v1`<br />`      timeout: 3s`</details> |          |

#### extraVolumes\[]

VolumeMountConfig struct describes extra volume mount for the static pods.

| Field       | Type   | Description                                                                                                   | Value(s) |
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------- | -------- |
| `hostPath`  | string | Path on the host. <details><summary>Show example(s)</summary>`hostPath: /var/lib/auth`</details>              |          |
| `mountPath` | string | Path in the container. <details><summary>Show example(s)</summary>`mountPath: /etc/kubernetes/auth`</details> |          |
| `readonly`  | bool   | Mount the volume read only. <details><summary>Show example(s)</summary>`readonly: true`</details>             |          |

#### admissionControl\[]

AdmissionPluginConfig represents the API server admission plugin configuration.

```yaml
cluster:
    apiServer:
        admissionControl:
            - name: PodSecurity # Name is the name of the admission controller.
              # Configuration is an embedded configuration object to be used as the plugin's
              configuration:
                apiVersion: pod-security.admission.config.k8s.io/v1alpha1
                defaults:
                    audit: restricted
                    audit-version: latest
                    enforce: baseline
                    enforce-version: latest
                    warn: restricted
                    warn-version: latest
                exemptions:
                    namespaces:
                        - kube-system
                    runtimeClasses: []
                    usernames: []
                kind: PodSecurityConfiguration
```

| Field           | Type         | Description                                                                                                                            | Value(s) |
| --------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `name`          | string       | <details><summary>Name is the name of the admission controller.</summary>It must match the registered admission plugin name.</details> |          |
| `configuration` | Unstructured | <details><summary>Configuration is an embedded configuration object to be used as the plugin's</summary>configuration.</details>       |          |

#### resources

ResourcesConfig represents the pod resources.

| Field      | Type         | Description                                                                                                                                                                    | Value(s) |
| ---------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `requests` | Unstructured | Requests configures the reserved cpu/memory resources. <details><summary>Show example(s)</summary>`requests:`<br />`  cpu: 1`<br />`  memory: 1Gi`</details>                   |          |
| `limits`   | Unstructured | Limits configures the maximum cpu/memory resources a container can use. <details><summary>Show example(s)</summary>`limits:`<br />`  cpu: 2`<br />`  memory: 2500Mi`</details> |          |

#### authorizationConfig\[]

AuthorizationConfigAuthorizerConfig represents the API server authorization config authorizer configuration.

```yaml
cluster:
    apiServer:
        authorizationConfig:
            - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
              name: webhook # Name is used to describe the authorizer.
              # webhook is the configuration for the webhook authorizer.
              webhook:
                connectionInfo:
                    type: InClusterConfig
                failurePolicy: Deny
                matchConditionSubjectAccessReviewVersion: v1
                matchConditions:
                    - expression: has(request.resourceAttributes)
                    - expression: '!(\''system:serviceaccounts:kube-system\'' in request.groups)'
                subjectAccessReviewVersion: v1
                timeout: 3s
            - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
              name: in-cluster-authorizer # Name is used to describe the authorizer.
              # webhook is the configuration for the webhook authorizer.
              webhook:
                connectionInfo:
                    type: InClusterConfig
                failurePolicy: NoOpinion
                matchConditionSubjectAccessReviewVersion: v1
                subjectAccessReviewVersion: v1
                timeout: 3s
```

| Field     | Type         | Description                                                                           | Value(s) |
| --------- | ------------ | ------------------------------------------------------------------------------------- | -------- |
| `type`    | string       | Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`. |          |
| `name`    | string       | Name is used to describe the authorizer.                                              |          |
| `webhook` | Unstructured | webhook is the configuration for the webhook authorizer.                              |          |

### controllerManager

ControllerManagerConfig represents the kube controller manager configuration options.

```yaml
cluster:
    controllerManager:
        image: registry.k8s.io/kube-controller-manager:v1.33.0 # The container image used in the controller manager manifest.
        # Extra arguments to supply to the controller manager.
        extraArgs:
            feature-gates: ServerSideApply=true
```

| Field          | Type                                                                               | Description                                                                                                                                                                | Value(s) |
| -------------- | ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `image`        | string                                                                             | The container image used in the controller manager manifest. <details><summary>Show example(s)</summary>`image: registry.k8s.io/kube-controller-manager:v1.33.0`</details> |          |
| `extraArgs`    | map\[string]string                                                                 | Extra arguments to supply to the controller manager.                                                                                                                       |          |
| `extraVolumes` | <a href="#Config.cluster.controllerManager.extraVolumes.">\[]VolumeMountConfig</a> | Extra volumes to mount to the controller manager static pod.                                                                                                               |          |
| `env`          | Env                                                                                | The `env` field allows for the addition of environment variables for the control plane component.                                                                          |          |
| `resources`    | <a href="#Config.cluster.controllerManager.resources">ResourcesConfig</a>          | Configure the controller manager resources.                                                                                                                                |          |

#### extraVolumes\[]

VolumeMountConfig struct describes extra volume mount for the static pods.

| Field       | Type   | Description                                                                                                   | Value(s) |
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------- | -------- |
| `hostPath`  | string | Path on the host. <details><summary>Show example(s)</summary>`hostPath: /var/lib/auth`</details>              |          |
| `mountPath` | string | Path in the container. <details><summary>Show example(s)</summary>`mountPath: /etc/kubernetes/auth`</details> |          |
| `readonly`  | bool   | Mount the volume read only. <details><summary>Show example(s)</summary>`readonly: true`</details>             |          |

#### resources

ResourcesConfig represents the pod resources.

| Field      | Type         | Description                                                                                                                                                                    | Value(s) |
| ---------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `requests` | Unstructured | Requests configures the reserved cpu/memory resources. <details><summary>Show example(s)</summary>`requests:`<br />`  cpu: 1`<br />`  memory: 1Gi`</details>                   |          |
| `limits`   | Unstructured | Limits configures the maximum cpu/memory resources a container can use. <details><summary>Show example(s)</summary>`limits:`<br />`  cpu: 2`<br />`  memory: 2500Mi`</details> |          |

### proxy

ProxyConfig represents the kube proxy configuration options.

```yaml
cluster:
    proxy:
        image: registry.k8s.io/kube-proxy:v1.33.0 # The container image used in the kube-proxy manifest.
        mode: ipvs # proxy mode of kube-proxy.
        # Extra arguments to supply to kube-proxy.
        extraArgs:
            proxy-mode: iptables

        # # Disable kube-proxy deployment on cluster bootstrap.
        # disabled: false
```

| Field       | Type               | Description                                                                                                                                           | Value(s) |
| ----------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `disabled`  | bool               | Disable kube-proxy deployment on cluster bootstrap. <details><summary>Show example(s)</summary>`disabled: false`</details>                            |          |
| `image`     | string             | The container image used in the kube-proxy manifest. <details><summary>Show example(s)</summary>`image: registry.k8s.io/kube-proxy:v1.33.0`</details> |          |
| `mode`      | string             | <details><summary>proxy mode of kube-proxy.</summary>The default is 'iptables'.</details>                                                             |          |
| `extraArgs` | map\[string]string | Extra arguments to supply to kube-proxy.                                                                                                              |          |

### scheduler

SchedulerConfig represents the kube scheduler configuration options.

```yaml
cluster:
    scheduler:
        image: registry.k8s.io/kube-scheduler:v1.33.0 # The container image used in the scheduler manifest.
        # Extra arguments to supply to the scheduler.
        extraArgs:
            feature-gates: AllBeta=true
```

| Field          | Type                                                                       | Description                                                                                                                                              | Value(s) |
| -------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `image`        | string                                                                     | The container image used in the scheduler manifest. <details><summary>Show example(s)</summary>`image: registry.k8s.io/kube-scheduler:v1.33.0`</details> |          |
| `extraArgs`    | map\[string]string                                                         | Extra arguments to supply to the scheduler.                                                                                                              |          |
| `extraVolumes` | <a href="#Config.cluster.scheduler.extraVolumes.">\[]VolumeMountConfig</a> | Extra volumes to mount to the scheduler static pod.                                                                                                      |          |
| `env`          | Env                                                                        | The `env` field allows for the addition of environment variables for the control plane component.                                                        |          |
| `resources`    | <a href="#Config.cluster.scheduler.resources">ResourcesConfig</a>          | Configure the scheduler resources.                                                                                                                       |          |
| `config`       | Unstructured                                                               | Specify custom kube-scheduler configuration.                                                                                                             |          |

#### extraVolumes\[]

VolumeMountConfig struct describes extra volume mount for the static pods.

| Field       | Type   | Description                                                                                                   | Value(s) |
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------- | -------- |
| `hostPath`  | string | Path on the host. <details><summary>Show example(s)</summary>`hostPath: /var/lib/auth`</details>              |          |
| `mountPath` | string | Path in the container. <details><summary>Show example(s)</summary>`mountPath: /etc/kubernetes/auth`</details> |          |
| `readonly`  | bool   | Mount the volume read only. <details><summary>Show example(s)</summary>`readonly: true`</details>             |          |

#### resources

ResourcesConfig represents the pod resources.

| Field      | Type         | Description                                                                                                                                                                    | Value(s) |
| ---------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `requests` | Unstructured | Requests configures the reserved cpu/memory resources. <details><summary>Show example(s)</summary>`requests:`<br />`  cpu: 1`<br />`  memory: 1Gi`</details>                   |          |
| `limits`   | Unstructured | Limits configures the maximum cpu/memory resources a container can use. <details><summary>Show example(s)</summary>`limits:`<br />`  cpu: 2`<br />`  memory: 2500Mi`</details> |          |

### discovery

ClusterDiscoveryConfig struct configures cluster membership discovery.

```yaml
cluster:
    discovery:
        enabled: true # Enable the cluster membership discovery feature.
        # Configure registries used for cluster member discovery.
        registries:
            # Kubernetes registry uses Kubernetes API server to discover cluster members and stores additional information
            kubernetes: 
            # Service registry is using an external service to push and pull information about cluster members.
            service:
                endpoint: https://discovery.talos.dev/ # External service endpoint.
```

| Field        | Type                                                                         | Description                                                                                                                                                                                | Value(s) |
| ------------ | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `enabled`    | bool                                                                         | <details><summary>Enable the cluster membership discovery feature.</summary>Cluster discovery is based on individual registries which are configured under the registries field.</details> |          |
| `registries` | <a href="#Config.cluster.discovery.registries">DiscoveryRegistriesConfig</a> | Configure registries used for cluster member discovery.                                                                                                                                    |          |

#### registries

DiscoveryRegistriesConfig struct configures cluster membership discovery.

| Field        | Type                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                    | Value(s) |
| ------------ | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `kubernetes` | <a href="#Config.cluster.discovery.registries.kubernetes">RegistryKubernetesConfig</a> | <details><summary>Kubernetes registry uses Kubernetes API server to discover cluster members and stores additional information</summary>as annotations on the Node resources.<br /><br />This feature is deprecated as it is not compatible with Kubernetes 1.32+.<br />See [https://github.com/siderolabs/talos/issues/9980](https://github.com/siderolabs/talos/issues/9980) for more information.</details> |          |
| `service`    | <a href="#Config.cluster.discovery.registries.service">RegistryServiceConfig</a>       | Service registry is using an external service to push and pull information about cluster members.                                                                                                                                                                                                                                                                                                              |          |

##### kubernetes

RegistryKubernetesConfig struct configures Kubernetes discovery registry.

| Field      | Type | Description                            | Value(s) |
| ---------- | ---- | -------------------------------------- | -------- |
| `disabled` | bool | Disable Kubernetes discovery registry. |          |

##### service

RegistryServiceConfig struct configures Kubernetes discovery registry.

| Field      | Type   | Description                                                                                                              | Value(s) |
| ---------- | ------ | ------------------------------------------------------------------------------------------------------------------------ | -------- |
| `disabled` | bool   | Disable external service discovery registry.                                                                             |          |
| `endpoint` | string | External service endpoint. <details><summary>Show example(s)</summary>`endpoint: https://discovery.talos.dev/`</details> |          |

### etcd

EtcdConfig represents the etcd configuration options.

```yaml
cluster:
    etcd:
        image: gcr.io/etcd-development/etcd:v3.5.21 # The container image used to create the etcd service.
        # The `ca` is the root certificate authority of the PKI.
        ca:
            crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
            key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
        # Extra arguments to supply to etcd.
        extraArgs:
            election-timeout: "5000"

        # # The `advertisedSubnets` field configures the networks to pick etcd advertised IP from.
        # advertisedSubnets:
        #     - 10.0.0.0/8
```

| Field               | Type                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Value(s) |
| ------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| `image`             | string                      | The container image used to create the etcd service. <details><summary>Show example(s)</summary>`image: gcr.io/etcd-development/etcd:v3.5.21`</details>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |          |
| `ca`                | PEMEncodedCertificateAndKey | <details><summary>The `ca` is the root certificate authority of the PKI.</summary>It is composed of a base64 encoded `crt` and `key`.</details> <details><summary>Show example(s)</summary>`ca:`<br />`  crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t`<br />`  key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==`</details>                                                                                                                                                                                                                                                                                                                                                                                               |          |
| `extraArgs`         | map\[string]string          | <details><summary>Extra arguments to supply to etcd.</summary>Note that the following args are not allowed:<br /><br />- `name`<br />- `data-dir`<br />- `initial-cluster-state`<br />- `listen-peer-urls`<br />- `listen-client-urls`<br />- `cert-file`<br />- `key-file`<br />- `trusted-ca-file`<br />- `peer-client-cert-auth`<br />- `peer-cert-file`<br />- `peer-trusted-ca-file`<br />- `peer-key-file`</details>                                                                                                                                                                                                                                                                             |          |
| `advertisedSubnets` | \[]string                   | <details><summary>The `advertisedSubnets` field configures the networks to pick etcd advertised IP from.</summary><br />IPs can be excluded from the list by using negative match with `!`, e.g `!10.0.0.0/8`.<br />Negative subnet matches should be specified last to filter out IPs picked by positive matches.<br />If not specified, advertised IP is selected as the first routable address of the node.</details> <details><summary>Show example(s)</summary>`advertisedSubnets:`<br />`  - 10.0.0.0/8`</details>                                                                                                                                                                               |          |
| `listenSubnets`     | \[]string                   | <details><summary>The `listenSubnets` field configures the networks for the etcd to listen for peer and client connections.</summary><br />If `listenSubnets` is not set, but `advertisedSubnets` is set, `listenSubnets` defaults to<br />`advertisedSubnets`.<br /><br />If neither `advertisedSubnets` nor `listenSubnets` is set, `listenSubnets` defaults to listen on all addresses.<br /><br />IPs can be excluded from the list by using negative match with `!`, e.g `!10.0.0.0/8`.<br />Negative subnet matches should be specified last to filter out IPs picked by positive matches.<br />If not specified, advertised IP is selected as the first routable address of the node.</details> |          |

### coreDNS

CoreDNS represents the CoreDNS config values.

```yaml
cluster:
    coreDNS:
        image: registry.k8s.io/coredns/coredns:v1.12.1 # The `image` field is an override to the default coredns image.
```

| Field      | Type   | Description                                                    | Value(s) |
| ---------- | ------ | -------------------------------------------------------------- | -------- |
| `disabled` | bool   | Disable coredns deployment on cluster bootstrap.               |          |
| `image`    | string | The `image` field is an override to the default coredns image. |          |

### externalCloudProvider

ExternalCloudProviderConfig contains external cloud provider configuration.

```yaml
cluster:
    externalCloudProvider:
        enabled: true # Enable external cloud provider.
        # A list of urls that point to additional manifests for an external cloud provider.
        manifests:
            - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/rbac.yaml
            - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/aws-cloud-controller-manager-daemonset.yaml
```

| Field       | Type      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Value(s)                                       |
| ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------- |
| `enabled`   | bool      | Enable external cloud provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `true`<br />`yes`<br />`false`<br />`no`<br /> |
| `manifests` | \[]string | <details><summary>A list of urls that point to additional manifests for an external cloud provider.</summary>These will get automatically deployed as part of the bootstrap.</details> <details><summary>Show example(s)</summary>`manifests:`<br />`  - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/rbac.yaml`<br />`  - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/aws-cloud-controller-manager-daemonset.yaml`</details> |                                                |

### inlineManifests\[]

ClusterInlineManifest struct describes inline bootstrap manifests for the user.

```yaml
cluster:
    inlineManifests:
        - name: namespace-ci # Name of the manifest.
          contents: |- # Manifest contents as a string.
            apiVersion: v1
            kind: Namespace
            metadata:
            	name: ci
```

| Field      | Type   | Description                                                                                                                                        | Value(s) |
| ---------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `name`     | string | <details><summary>Name of the manifest.</summary>Name should be unique.</details> <details><summary>Show example(s)</summary>`name: csi`</details> |          |
| `contents` | string | Manifest contents as a string. <details><summary>Show example(s)</summary>`contents: /etc/kubernetes/auth`</details>                               |          |

### adminKubeconfig

AdminKubeconfigConfig contains admin kubeconfig settings.

```yaml
cluster:
    adminKubeconfig:
        certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).
```

| Field          | Type     | Description                                                                                                                                                                                  | Value(s) |
| -------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `certLifetime` | Duration | <details><summary>Admin kubeconfig certificate lifetime (default is 1 year).</summary>Field format accepts any Go time.Duration format ('1h' for one hour, '10m' for ten minutes).</details> |          |
