Class DNSStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.DNSStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DNSStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DNSStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<DNSStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DNSStatus defines the observed status of the DNS.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClusterDomain()clusterDomain is the local cluster DNS domain suffix for DNS services.StringgetClusterIP()clusterIP is the service IP through which this DNS is made available.List<OperatorCondition>getConditions()conditions provide information about the state of the DNS on the cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterDomain(String clusterDomain)clusterDomain is the local cluster DNS domain suffix for DNS services.voidsetClusterIP(String clusterIP)clusterIP is the service IP through which this DNS is made available.voidsetConditions(List<OperatorCondition> conditions)conditions provide information about the state of the DNS on the cluster.DNSStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
DNSStatus
public DNSStatus()
No args constructor for use in serialization
-
DNSStatus
public DNSStatus(String clusterDomain, String clusterIP, List<OperatorCondition> conditions)
-
-
Method Detail
-
getClusterDomain
public String getClusterDomain()
clusterDomain is the local cluster DNS domain suffix for DNS services. This will be a subdomain as defined in RFC 1034, section 3.5: https://tools.ietf.org/html/rfc1034#section-3.5 Example: "cluster.local"More info: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service
-
setClusterDomain
public void setClusterDomain(String clusterDomain)
clusterDomain is the local cluster DNS domain suffix for DNS services. This will be a subdomain as defined in RFC 1034, section 3.5: https://tools.ietf.org/html/rfc1034#section-3.5 Example: "cluster.local"More info: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service
-
getClusterIP
public String getClusterIP()
clusterIP is the service IP through which this DNS is made available.In the case of the default DNS, this will be a well known IP that is used as the default nameserver for pods that are using the default ClusterFirst DNS policy.
In general, this IP can be specified in a pod's spec.dnsConfig.nameservers list or used explicitly when performing name resolution from within the cluster. Example: dig foo.com @<service IP>
More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
-
setClusterIP
public void setClusterIP(String clusterIP)
clusterIP is the service IP through which this DNS is made available.In the case of the default DNS, this will be a well known IP that is used as the default nameserver for pods that are using the default ClusterFirst DNS policy.
In general, this IP can be specified in a pod's spec.dnsConfig.nameservers list or used explicitly when performing name resolution from within the cluster. Example: dig foo.com @<service IP>
More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
-
getConditions
public List<OperatorCondition> getConditions()
conditions provide information about the state of the DNS on the cluster.These are the supported DNS conditions:
* Available
- True if the following conditions are met:
* DNS controller daemonset is available.
- False if any of those conditions are unsatisfied.
-
setConditions
public void setConditions(List<OperatorCondition> conditions)
conditions provide information about the state of the DNS on the cluster.These are the supported DNS conditions:
* Available
- True if the following conditions are met:
* DNS controller daemonset is available.
- False if any of those conditions are unsatisfied.
-
edit
public DNSStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DNSStatusBuilder>
-
toBuilder
public DNSStatusBuilder toBuilder()
-
-