Interface PodDnsConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    PodDnsConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-05T02:57:36.697Z")
    @Stability(Stable)
    public interface PodDnsConfig
    extends software.amazon.jsii.JsiiSerializable
    PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
    • Method Detail

      • getNameservers

        @Stability(Stable)
        @Nullable
        default List<String> getNameservers()
        A list of DNS name server IP addresses.

        This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.

      • getOptions

        @Stability(Stable)
        @Nullable
        default List<PodDnsConfigOption> getOptions()
        A list of DNS resolver options.

        This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.

      • getSearches

        @Stability(Stable)
        @Nullable
        default List<String> getSearches()
        A list of DNS search domains for host-name lookup.

        This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.