package node
import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/upgrade/node"
Package node holds phases of "kubeadm upgrade node".
Index ¶
- func NewControlPlane() workflow.Phase
- func NewKubeconfigPhase() workflow.Phase
- func NewKubeletConfigPhase() workflow.Phase
- func NewPreflightPhase() workflow.Phase
- type Data
Functions ¶
func NewControlPlane ¶
NewControlPlane creates a kubeadm workflow phase that implements handling of control-plane upgrade.
func NewKubeconfigPhase ¶
NewKubeconfigPhase creates a kubeadm workflow phase that implements handling of kubeconfig upgrade.
func NewKubeletConfigPhase ¶
NewKubeletConfigPhase creates a kubeadm workflow phase that implements handling of kubelet-config upgrade.
func NewPreflightPhase ¶
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.UpgradeConfiguration InitCfg() *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.
Source Files ¶
controlplane.go data.go kubeconfig.go kubeletconfig.go preflight.go
- Version
- v1.31.0
- Published
- Aug 13, 2024
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 14 minutes ago –
Tools for package owners.