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
	KubeletVersion() string
	Cfg() *kubeadmapi.InitConfiguration
	IsControlPlaneNode() bool
	Client() clientset.Interface
	IgnorePreflightErrors() sets.String
	KustomizeDir() 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.19.8
Published
Feb 17, 2021
Platform
linux/amd64
Imports
17 packages
Last checked
23 minutes ago

Tools for package owners.