nodeupgrader

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 PodName

func PodName(nodeName string) string

PodName returns the name of the upgrader pod based on the nodeName.

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

func UpgradeSecondaryControlPlanePod(nodeName, image string) *corev1.Pod

UpgradeSecondaryControlPlanePod returns an upgrader pod that can be deployed on the remaining control plane nodes.

func UpgradeWorkerPod

func UpgradeWorkerPod(nodeName, image string) *corev1.Pod

UpgradeWorkerPod returns an upgrader pod that can be deployed on worker nodes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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