Documentation ¶
Index ¶
- Constants
- func CreateServiceAccount(client clientset.Interface) error
- func EnsureDNSAddon(cfg *kubeadmapi.MasterConfiguration, client clientset.Interface) error
- func GetKubeDNSManifest(kubeVersion *version.Version) string
- func GetKubeDNSProbeType(kubeVersion *version.Version) string
- func GetKubeDNSVersion(kubeVersion *version.Version) string
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 ¶
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 ¶
GetKubeDNSManifest returns the right kube-dns YAML manifest for a specific k8s version
func GetKubeDNSProbeType ¶ added in v1.9.0
GetKubeDNSProbeType returns the right kube-dns probe for a specific k8s version
func GetKubeDNSVersion ¶
GetKubeDNSVersion returns the right kube-dns version for a specific k8s version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.