kubelet

package
v1.13.11-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigMap added in v1.11.0

func CreateConfigMap(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error

CreateConfigMap creates a ConfigMap with the generic kubelet configuration. Used at "kubeadm init" and "kubeadm upgrade" time

func DownloadConfig added in v1.11.0

func DownloadConfig(client clientset.Interface, kubeletVersion *version.Version, kubeletDir string) error

DownloadConfig downloads the kubelet configuration from a ConfigMap and writes it to disk. Used at "kubeadm join" time

func EnableDynamicConfigForNode added in v1.11.0

func EnableDynamicConfigForNode(client clientset.Interface, nodeName string, kubeletVersion *version.Version) error

EnableDynamicConfigForNode updates the Node's ConfigSource to enable Dynamic Kubelet Configuration, depending on what version the kubelet is Used at "kubeadm init", "kubeadm join" and "kubeadm upgrade" time

func TryStartKubelet added in v1.12.0

func TryStartKubelet()

TryStartKubelet attempts to bring up kubelet service

func TryStopKubelet added in v1.12.0

func TryStopKubelet()

TryStopKubelet attempts to bring down the kubelet service momentarily

func WriteConfigToDisk added in v1.11.0

func WriteConfigToDisk(kubeletConfig *kubeletconfig.KubeletConfiguration, kubeletDir string) error

WriteConfigToDisk writes the kubelet config object down to a file Used at "kubeadm init" and "kubeadm upgrade" time

func WriteKubeletDynamicEnvFile added in v1.11.0

func WriteKubeletDynamicEnvFile(cfg *kubeadmapi.InitConfiguration, registerTaintsUsingFlags bool, kubeletDir string) error

WriteKubeletDynamicEnvFile writes an environment file with dynamic flags to the kubelet. Used at "kubeadm init" and "kubeadm join" time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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