node

package
v1.17.13-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 15 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.

Types

type Data

type Data interface {
	EtcdUpgrade() bool
	RenewCerts() bool
	DryRun() bool
	KubeletVersion() string
	Cfg() *kubeadmapi.InitConfiguration
	IsControlPlaneNode() bool
	Client() clientset.Interface
	KustomizeDir() 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