package
1.5.0
Repository: https://github.com/openyurtio/openyurt.git
Documentation: pkg.go.dev

# Functions

CheckAndInstallKubeadm install kubeadm, skip install if it exist.
CheckAndInstallKubelet install kubelet and kubernetes-cni, skip install if they exist.
CheckAndInstallKubernetesCni install kubernetes-cni, skip install if they exist.
CheckKubeletStatus check if kubelet is healthy.
EnableKubeletService enable kubelet service.
GetDefaultClientSet return client set created by /etc/kubernetes/kubelet.conf.
GetKubernetesVersionFromCluster get kubernetes cluster version from master.
GetStaticPodTemplateFromConfigMap get static pod template from configmap.
IsValidBootstrapToken returns whether the given string is valid as a Bootstrap Token and in other words satisfies the BootstrapTokenRegexp.
RetrieveBootstrapConfig get clientcmdapi config by bootstrap token.
RunJobAndCleanup runs the job, wait for it to be complete, and delete it.
No description provided by the author
No description provided by the author
SetKubeletConfigForNode write kubelet.conf for join node.
SetKubeletService configure kubelet service.
SetKubeletUnitConfig configure kubelet startup parameters.

# Constants

No description provided by the author
TokenUser defines token user.

# Variables

BootstrapTokenRegexp is a compiled regular expression of TokenRegexpString.
No description provided by the author
PropagationPolicy defines the propagation policy used when deleting a resource.