Expand description
Port of internal/clusterdomain/clusterdomain.go: discovers the DNS zone
a cluster serves, through the sources its driver names in
driver::Driver::domain_sources.
Modules§
- resolve
- Port of
internal/clusterdomain/resolve.go: settlescluster.network.cluster_domainagainst the zone the cluster actually serves.
Structs§
- Discover
Result - Port of
clusterdomain.Result: the zone a cluster’s DNS is confirmed to serve.
Enums§
- Cluster
Domain Error - Port of
clusterdomain.ErrNoZoneFoundand the source-specific sentinels it wraps.
Constants§
- COREDNS_
COREFILE - Port of
clusterdomain.CoreDNSCorefile: reads thekubernetesplugin zone from the Corefile inkube-system. - KUBELET_
CONFIGZ - Port of
clusterdomain.KubeletConfigz: reads the kubelet’sclusterDomainthrough nodes/proxy; usually admin-only. - KUBE_
DNS_ DOMAIN_ ARG - Port of
clusterdomain.KubeDNSDomainArg: reads the--domainargument of a kube-dns Deployment. - RESOLV_
CONF_ SEARCH - Port of
clusterdomain.ResolvConfSearch: reads a probe pod’s/etc/resolv.confsearch list; needs only the right to run a pod.
Functions§
- defaults
- Port of
clusterdomain.Defaults: the chain for a driver with no opinion of its own. - discover
- Port of
clusterdomain.Discover. - first_
node_ name - Port of
clusterdomain.firstNodeName. - is_
forbidden - Port of
clusterdomain.isForbidden. TakesOptionsince the Go original is called with a possibly-nilerror. - parse_
corefile - Port of
clusterdomain.parseCorefile. - parse_
kube_ dns_ args - Port of
clusterdomain.parseKubeDNSArgs. - parse_
kubelet_ config_ z - Port of
clusterdomain.parseKubeletConfigZ. - parse_
resolv_ conf - Port of
clusterdomain.parseResolvConf. - refused_
or_ absent - Port of
clusterdomain.refusedOrAbsent, generalized to anyClusterDomainError. - sources_
for - Port of
clusterdomain.SourcesFor.