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

> KubeProxyConfig configures kube-proxy deployment.

# KubeProxyConfig

```yaml theme={null}
apiVersion: v1alpha1
kind: KubeProxyConfig
image: registry.k8s.io/kube-proxy:v1.37.0-beta.0 # The container image used in the kube-proxy manifest.
mode: nftables # description: |
# Provide configuration for the kube-proxy.
config:
    bindAddressHardFail: true
# Configure the kube-proxy resources.
resources:
    # Requests configures the reserved cpu/memory resources.
    requests:
        cpu: 100m
        memory: 50Mi

    # # Limits configures the maximum cpu/memory limits a pod can use.

    # # resources limits.
    # limits:
    #     cpu: 2
    #     memory: 2500Mi
```

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

  <tbody>
    <tr>
      <td>`enabled`</td>
      <td>bool</td>
      <td>Enable or disable kube-proxy deployment on cluster bootstrap.<br /><br />Default is enabled.</td>

      <td />
    </tr>

    <tr>
      <td>`image`</td>
      <td>string</td>
      <td>The container image used in the kube-proxy manifest.</td>

      <td />
    </tr>

    <tr>
      <td>`mode`</td>
      <td>string</td>
      <td>description:</td>
      <td><br /> Proxy mode of kube-proxy.<br /><br /> The default value is 'nftables'.<br /> It is not recommended to use any other value.<br /> values:<br /> - iptables<br /> - ipvs<br /> - nftables<br /></td>

      <td />
    </tr>

    <tr>
      <td>`config`</td>
      <td>Unstructured</td>
      <td>Provide configuration for the kube-proxy.<br /><br />There is no need to specify kind and apiVersion fields (they will be set automatically),<br />but the rest of the configuration should be provided as is.<br /><br />See [https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/](https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/) for the details of the configuration schema.</td>

      <td />
    </tr>

    <tr>
      <td>`extraArgs`</td>
      <td>Args</td>
      <td>Extra arguments to supply to kube-proxy.<br /><br />Please note that kube-proxy is configured with a configuration file,<br />so most flags have no effect.</td>

      <td />
    </tr>

    <tr>
      <td>`resources`</td>
      <td><a href="#resources">ResourcesConfig</a></td>
      <td>Configure the kube-proxy resources.</td>

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

## resources

ResourcesConfig represents the pod resources.

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

  <tbody>
    <tr>
      <td>`requests`</td>
      <td>Unstructured</td>
      <td>Requests configures the reserved cpu/memory resources.</td>

      <td />
    </tr>

    <tr>
      <td>`limits`</td>
      <td>Unstructured</td>
      <td>Limits configures the maximum cpu/memory limits a pod can use.</td>

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