PodDnsConfigV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the DNS configuration for a Pod in Kubernetes.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class PodDnsConfigV1
[<YamlDotNet.Serialization.YamlSerializable>]
type PodDnsConfigV1 = class
Public NotInheritable Class PodDnsConfigV1
- Inheritance
-
PodDnsConfigV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class is used to define custom DNS settings, including nameservers, search domains, and DNS configuration options, for a Pod in Kubernetes.
Constructors
PodDnsConfigV1() |
Properties
Nameservers |
Gets the list of IP addresses of DNS servers to be used by the Pod. |
Options |
Represents a list of DNS configuration options for a Pod in Kubernetes. |
Searches |
Gets the list of DNS search domains used for name resolution in the Pod's DNS configuration. |