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.22.0-rc.0
Published
Jul 21, 2021
Platform
js/wasm
Imports
17 packages
Last checked
10 minutes ago

Tools for package owners.