Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CopierContainerName holds the name of the components copier container. CopierContainerName = "components-copier" // ContainerdUpgraderContainerName holds the name of the containerd upgrader container. ContainerdUpgraderContainerName = "containerd-upgrader" // CNIPluginsUpgraderContainerName holds the name of the CNI plugins upgrader container. CNIPluginsUpgraderContainerName = "cni-plugins-upgrader" // KubeadmUpgraderContainerName holds the name of the kubeadm upgrader container. KubeadmUpgraderContainerName = "kubeadm-upgrader" // KubeletUpgradeContainerName holds the name of the kubelet/kubectl upgrader container. KubeletUpgradeContainerName = "kubelet-kubectl-upgrader" // PostUpgradeContainerName holds the name of the post upgrade cleanup/status report container. PostUpgradeContainerName = "post-upgrade-status" )
Variables ¶
This section is empty.
Functions ¶
func UpgradeFirstControlPlanePod ¶
func UpgradeFirstControlPlanePod(nodeName, image, kubernetesVersion, etcdVersion string) *corev1.Pod
UpgradeFirstControlPlanePod returns an upgrader pod that should be deployed on the first control plane node.
func UpgradeSecondaryControlPlanePod ¶
UpgradeSecondaryControlPlanePod returns an upgrader pod that can be deployed on the remaining control plane nodes.
func UpgradeWorkerPod ¶
UpgradeWorkerPod returns an upgrader pod that can be deployed on worker nodes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.