dns

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// KubeDNSService is the kube-dns Service manifest
	KubeDNSService = `` /* 628-byte string literal not displayed */

)
View Source
const (
	// KubeDNSServiceAccountName describes the name of the ServiceAccount for the kube-dns addon
	KubeDNSServiceAccountName = "kube-dns"
)

Variables

This section is empty.

Functions

func CreateServiceAccount

func CreateServiceAccount(client clientset.Interface) error

CreateServiceAccount creates the necessary serviceaccounts that kubeadm uses/might use, if they don't already exist.

func EnsureDNSAddon

func EnsureDNSAddon(cfg *kubeadmapi.MasterConfiguration, client clientset.Interface) error

EnsureDNSAddon creates the kube-dns addon

func GetKubeDNSManifest

func GetKubeDNSManifest(kubeVersion *version.Version) string

GetKubeDNSManifest returns the right kube-dns YAML manifest for a specific k8s version

func GetKubeDNSVersion

func GetKubeDNSVersion(kubeVersion *version.Version) string

GetKubeDNSVersion returns the right kube-dns version for a specific k8s version

Types

This section is empty.

Jump to

Keyboard shortcuts

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