import "k8s.io/kubernetes/cmd/kubeadm/app/phases/addons/dns"
const ( KubeDNSDeployment = "" /* 4510 byte string literal not displayed */ KubeDNSService = "" /* 781 byte string literal not displayed */ CoreDNSDeployment = "" /* 2129 byte string literal not displayed */ CoreDNSConfigMap = "" /* 553 byte string literal not displayed */ CoreDNSClusterRole = "" /* 274 byte string literal not displayed */ CoreDNSClusterRoleBinding = "" /* 266 byte string literal not displayed */ CoreDNSServiceAccount = ` apiVersion: v1 kind: ServiceAccount metadata: name: coredns namespace: kube-system ` )
const ( // KubeDNSServiceAccountName describes the name of the ServiceAccount for the kube-dns addon KubeDNSServiceAccountName = "kube-dns" )
CreateServiceAccount creates the necessary serviceaccounts that kubeadm uses/might use, if they don't already exist.
func DeployedDNSAddon(client clientset.Interface) (kubeadmapi.DNSAddOnType, string, error)
DeployedDNSAddon returns the type of DNS addon currently deployed
func EnsureDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface) error
EnsureDNSAddon creates the kube-dns or CoreDNS addon
GetCoreDNSInfo gets the current CoreDNS installed and the current Corefile Configuration of CoreDNS.
Package dns imports 25 packages (graph) and is imported by 15 packages. Updated 2021-01-14. Refresh now. Tools for package owners.