package node

import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/upgrade/node"

Index

Functions

func NewControlPlane

func NewControlPlane() workflow.Phase

NewControlPlane creates a kubeadm workflow phase that implements handling of control-plane upgrade.

func NewKubeletConfigPhase

func NewKubeletConfigPhase() workflow.Phase

NewKubeletConfigPhase creates a kubeadm workflow phase that implements handling of kubelet-config upgrade.

func NewPreflightPhase

func NewPreflightPhase() workflow.Phase

NewPreflightPhase creates a kubeadm workflow phase that implements preflight checks for a new node join

Types

type Data

type Data interface {
	EtcdUpgrade() bool
	RenewCerts() bool
	DryRun() bool
	Cfg() *kubeadmapi.InitConfiguration
	IsControlPlaneNode() bool
	Client() clientset.Interface
	IgnorePreflightErrors() sets.String
	PatchesDir() string
}

Data is the interface to use for kubeadm upgrade node phases. The "nodeData" type from "cmd/upgrade/node.go" must satisfy this interface.

Source Files

controlplane.go data.go kubeletconfig.go preflight.go

Version
v1.23.5
Published
Mar 16, 2022
Platform
linux/amd64
Imports
17 packages
Last checked
1 hour ago

Tools for package owners.