> ## 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.

> KubeAPIServerConfig configures kube-apiserver controlplane static pod.

# KubeAPIServerConfig

```yaml theme={null}
apiVersion: v1alpha1
kind: KubeAPIServerConfig
image: registry.k8s.io/kube-apiserver:v1.37.0-beta.0 # The container image used to run the kube-apiserver component.
# Extra command line arguments to supply to the kube-apiserver.
extraArgs:
    feature-gates: ServerSideApply=true
    http2-max-streams-per-connection: "32"
```

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

  <tbody>
    <tr>
      <td>`image`</td>
      <td>string</td>
      <td>The container image used to run the kube-apiserver component.<br /><br />The image reference should contain the tag, even if it is pinned by digest.</td>

      <td />
    </tr>

    <tr>
      <td>`extraArgs`</td>
      <td>Args</td>
      <td>Extra command line arguments to supply to the kube-apiserver.</td>

      <td />
    </tr>

    <tr>
      <td>`env`</td>
      <td>map\[string]string</td>
      <td>The `env` field allows for the addition of environment variables for the kube-apiserver.</td>

      <td />
    </tr>

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

      <td />
    </tr>

    <tr>
      <td>`apiPort`</td>
      <td>int</td>
      <td>The port on which the kube-apiserver will listen for requests.<br /><br />Default is 6443.</td>

      <td />
    </tr>

    <tr>
      <td>`certExtraSANs`</td>
      <td>\[]string</td>
      <td>Provide extra certificate SANs (hostnames, IPs) to add to the kube-apiserver serving certificate.<br /><br />Talos automatically adds machine's addresses and hostnames, Kubernetes names, and control plane endpoint<br />derived SANs to the kube-apiserver serving certificate.<br />This field allows for adding additional SANs to the serving certificate.</td>

      <td />
    </tr>

    <tr>
      <td>`startupProbes`</td>
      <td>bool</td>
      <td>Enable or disable startup probes for kube-apiserver.<br /><br />Default is enabled.</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>
