package phases
import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/join"
Package phases includes command line phases for kubeadm join
Index ¶
- func NewCheckEtcdPhase() workflow.Phase
- func NewControlPlaneJoinPhase() workflow.Phase
- func NewControlPlanePreparePhase() workflow.Phase
- func NewEtcdJoinPhase() workflow.Phase
- func NewKubeletStartPhase() workflow.Phase
- func NewKubeletWaitBootstrapPhase() workflow.Phase
- func NewPreflightPhase() workflow.Phase
- func NewWaitControlPlanePhase() workflow.Phase
- type JoinData
Functions ¶
func NewCheckEtcdPhase ¶
NewCheckEtcdPhase is a hidden phase that runs after the control-plane-prepare and before the bootstrap-kubelet phase that ensures etcd is healthy
func NewControlPlaneJoinPhase ¶
NewControlPlaneJoinPhase creates a kubeadm workflow phase that implements joining a machine as a control plane instance
func NewControlPlanePreparePhase ¶
NewControlPlanePreparePhase creates a kubeadm workflow phase that implements the preparation of the node to serve a control plane
func NewEtcdJoinPhase ¶
NewEtcdJoinPhase creates a kubeadm workflow phase that implements joining etcd
func NewKubeletStartPhase ¶
NewKubeletStartPhase creates a kubeadm workflow phase that start kubelet on a node.
func NewKubeletWaitBootstrapPhase ¶
NewKubeletWaitBootstrapPhase creates a kubeadm workflow phase that start kubelet on a node.
func NewPreflightPhase ¶
NewPreflightPhase creates a kubeadm workflow phase that implements preflight checks for a new node join
func NewWaitControlPlanePhase ¶
NewWaitControlPlanePhase is a hidden phase that runs after the control-plane and etcd phases
Types ¶
type JoinData ¶
type JoinData interface { CertificateKey() string Cfg() *kubeadmapi.JoinConfiguration TLSBootstrapCfg() (*clientcmdapi.Config, error) InitCfg() (*kubeadmapi.InitConfiguration, error) Client() (clientset.Interface, error) IgnorePreflightErrors() sets.Set[string] OutputWriter() io.Writer PatchesDir() string DryRun() bool KubeConfigDir() string KubeletDir() string ManifestDir() string CertificateWriteDir() string }
JoinData is the interface to use for join phases. The "joinData" type from "cmd/join.go" must satisfy this interface.
Source Files ¶
checketcd.go controlplanejoin.go controlplaneprepare.go data.go kubelet.go preflight.go waitcontrolplane.go
- Version
- v1.33.2
- Published
- Jun 17, 2025
- Platform
- linux/amd64
- Imports
- 44 packages
- Last checked
- 6 minutes ago –
Tools for package owners.