Version v1.12 of the
documentation is for the Talos version being developed.
For the latest stable version of Talos, see the
latest version.
StaticHostConfig
StaticHostConfig is a config document to set /etc/hosts entries.
apiVersion: v1alpha1
kind: StaticHostConfig
name: 10.5.0.2 # IP address (IPv4 or IPv6) to map the hostnames to.
# List of hostnames to map to the IP address.
hostnames:
- my-server
- my-server.example.org
Field | Type | Description | Value(s) |
---|
name | string | IP address (IPv4 or IPv6) to map the hostnames to. | |
hostnames | []string | List of hostnames to map to the IP address. | |