dns

package
v1.29.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 21 Imported by: 39

Documentation

Index

Constants

View Source
const (
	// CoreDNSService is the CoreDNS Service manifest
	CoreDNSService = `` /* 779-byte string literal not displayed */

	// CoreDNSDeployment is the CoreDNS Deployment manifest
	CoreDNSDeployment = `` /* 2423-byte string literal not displayed */

	// CoreDNSConfigMap is the CoreDNS ConfigMap manifest
	CoreDNSConfigMap = `` /* 525-byte string literal not displayed */

	// CoreDNSClusterRole is the CoreDNS ClusterRole manifest
	CoreDNSClusterRole = `` /* 306-byte string literal not displayed */

	// CoreDNSClusterRoleBinding is the CoreDNS Clusterrolebinding manifest
	CoreDNSClusterRoleBinding = `` /* 264-byte string literal not displayed */

	// CoreDNSServiceAccount is the CoreDNS ServiceAccount manifest
	CoreDNSServiceAccount = `
apiVersion: v1
kind: ServiceAccount
metadata:
  name: coredns
  namespace: kube-system
`
)

Variables

This section is empty.

Functions

func DeployedDNSAddon added in v1.11.0

func DeployedDNSAddon(client clientset.Interface) (string, error)

DeployedDNSAddon returns the type of DNS addon currently deployed

func EnsureDNSAddon

func EnsureDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface, out io.Writer, printManifest bool) error

EnsureDNSAddon creates the CoreDNS addon

func GetCoreDNSInfo added in v1.16.0

func GetCoreDNSInfo(client clientset.Interface) (*v1.ConfigMap, string, string, error)

GetCoreDNSInfo gets the current CoreDNS installed and the current Corefile Configuration of CoreDNS.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL