node

package
v1.23.11-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 added in v1.19.0

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.

Jump to

Keyboard shortcuts

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