Back to Talos

StaticHostConfig

website/content/v1.13/reference/configuration/network/statichostconfig.md

1.13.0525 B
Original Source
<!-- markdownlint-disable -->

{{< highlight yaml >}} 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 {{< /highlight >}}

FieldTypeDescriptionValue(s)
namestringIP address (IPv4 or IPv6) to map the hostnames to.
hostnames[]stringList of hostnames to map to the IP address.