package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Pod_dns_config defines the Dns parameters of a pod in addition to those generated from Dns_policy.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?searches:string list -> ?options:Kubernetes.Definitions.Api.Core.V1.Pod_dns_config_option.t list -> ?nameservers:string list -> unit -> t
val nameservers : t -> string list option

A list of Dns name server Ip addresses. This will be appended to the base nameservers generated from Dns_policy. Duplicated nameservers will be removed.

A list of Dns resolver options. This will be merged with the base options generated from Dns_policy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base Dns_policy.

val searches : t -> string list option

A list of Dns search domains for host_name lookup. This will be appended to the base search paths generated from Dns_policy. Duplicated search paths will be removed.

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.