package dns
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/addons/dns"
Index ¶
- Constants
- func DeployedDNSAddon(client clientset.Interface) (string, error)
- func EnsureDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface, patchesDir string, out io.Writer, printManifest bool) error
- func GetCoreDNSInfo(client clientset.Interface) (*v1.ConfigMap, string, string, error)
Constants ¶
const ( CoreDNSService = "" /* 781 byte string literal not displayed */ CoreDNSDeployment = "" /* 2425 byte string literal not displayed */ CoreDNSConfigMap = "" /* 674 byte string literal not displayed */ CoreDNSClusterRole = "" /* 308 byte string literal not displayed */ CoreDNSClusterRoleBinding = "" /* 266 byte string literal not displayed */ CoreDNSServiceAccount = ` apiVersion: v1 kind: ServiceAccount metadata: name: coredns namespace: kube-system ` )
Functions ¶
func DeployedDNSAddon ¶
DeployedDNSAddon returns the image tag of the DNS addon currently deployed
func EnsureDNSAddon ¶
func EnsureDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface, patchesDir string, out io.Writer, printManifest bool) error
EnsureDNSAddon creates the CoreDNS addon
func GetCoreDNSInfo ¶
GetCoreDNSInfo gets the current CoreDNS installed and the current Corefile Configuration of CoreDNS.
Source Files ¶
dns.go manifests.go
- Version
- v1.33.2 (latest)
- Published
- Jun 17, 2025
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 1 hour ago –
Tools for package owners.