Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControlPlane ¶
NewControlPlane creates a kubeadm workflow phase that implements handling of control-plane upgrade.
func NewKubeletConfigPhase ¶
NewKubeletConfigPhase creates a kubeadm workflow phase that implements handling of kubelet-config upgrade.
func NewPreflightPhase ¶ added in v1.19.0
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.
Click to show internal directories.
Click to hide internal directories.