node

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 2

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.Set[string]
	PatchesDir() string
	KubeConfigPath() string
	OutputWriter() io.Writer
}

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