HostAlias [api_object]ai-synthesized · conf 0.82
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
core
A HostAlias is an object that maps a hostname to a pod's IP address.
Why it matters HostAliases allow for multiple hostnames to be mapped to the same pod, enabling more flexibility in network configuration.
Key facts - Can map one or more hostnames to a pod's IP address - Used for network configuration and flexibility
Common pitfalls - Requires careful management to avoid conflicts between hostnames
Sources
swagger.json — “io.k8s.api.core.v1.HostAlias”