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

# EtcdMemberConfig

> EtcdMemberConfig configures the etcd member running on the machine.
The presence of this document enables the etcd member on the machine.
This document requires the `EtcdCAConfig` document to be present as well.

This document should only be present on the controlplane machines.


```yaml theme={null}
apiVersion: v1alpha1
kind: EtcdMemberConfig
image: registry.k8s.io/etcd:v3.7.4 # The container image used to run etcd.
# 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
```

<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 etcd.\
      \
      If not set, the default etcd image for the Talos version is used.</td>

      <td />
    </tr>

    <tr>
      <td>`extraArgs`</td>
      <td>Args</td>
      <td>Extra arguments to supply to etcd.\
      \
      Note that the following args are not allowed:\
      \
      \- `name`\
      \- `data-dir`\
      \- `initial-cluster-state`\
      \- `listen-peer-urls`\
      \- `listen-client-urls`\
      \- `cert-file`\
      \- `key-file`\
      \- `trusted-ca-file`\
      \- `peer-client-cert-auth`\
      \- `peer-cert-file`\
      \- `peer-trusted-ca-file`\
      \- `peer-key-file`</td>

      <td />
    </tr>

    <tr>
      <td>`advertisedSubnets`</td>
      <td>\[]string</td>
      <td>The `advertisedSubnets` field configures the networks to pick etcd advertised IP from.\
      \
      IPs can be excluded from the list by using negative match with `!`, e.g `!10.0.0.0/8`.\
      Negative subnet matches should be specified last to filter out IPs picked by positive matches.\
      If not specified, advertised IP is selected as the first routable address of the node.</td>

      <td />
    </tr>

    <tr>
      <td>`listenSubnets`</td>
      <td>\[]string</td>
      <td>The `listenSubnets` field configures the networks for the etcd to listen for peer and client connections.\
      \
      If `listenSubnets` is not set, but `advertisedSubnets` is set, `listenSubnets` defaults to\
      `advertisedSubnets`.\
      \
      If neither `advertisedSubnets` nor `listenSubnets` is set, `listenSubnets` defaults to listen on all addresses.\
      \
      IPs can be excluded from the list by using negative match with `!`, e.g `!10.0.0.0/8`.\
      Negative subnet matches should be specified last to filter out IPs picked by positive matches.</td>

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.