Module: AWSCDK::Batch::DNSPolicy
- Defined in:
- batch/dns_policy.rb
Overview
The DNS Policy for the pod used by the Job Definition.
Constant Summary collapse
- DEFAULT =
Deprecated.Note:
Default:
The Pod inherits the name resolution configuration from the node that the Pods run on.
Jsii::Enum.new("aws-cdk-lib.aws_batch.DnsPolicy", "DEFAULT")
- CLUSTER_FIRST =
Deprecated.Note:
Default:
Any DNS query that does not match the configured cluster domain suffix, such as
"www.kubernetes.io", is forwarded to an upstream nameserver by the DNS server. Cluster administrators may have extra stub-domain and upstream DNS servers configured. Jsii::Enum.new("aws-cdk-lib.aws_batch.DnsPolicy", "CLUSTER_FIRST")
- CLUSTER_FIRST_WITH_HOST_NET =
Deprecated.Note:
Default:
For Pods running with
hostNetwork, you should explicitly set its DNS policy toCLUSTER_FIRST_WITH_HOST_NET.Otherwise, Pods running with
host_networkandCLUSTER_FIRSTwill fallback to the behavior of theDEFAULTpolicy. Jsii::Enum.new("aws-cdk-lib.aws_batch.DnsPolicy", "CLUSTER_FIRST_WITH_HOST_NET")