hostAliases property

List<HostAlias>? hostAliases
final

HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.

Implementation

final List<HostAlias>? hostAliases;