kubernetes/cmd/kubeadm/app/cmd/phases/join/preflight.go

var preflightExample

var notReadyToJoinControlPlaneTemp

// NewPreflightPhase creates a kubeadm workflow phase that implements preflight checks for a new node join
func NewPreflightPhase() workflow.Phase {}

// runPreflight executes preflight checks logic.
func runPreflight(c workflow.RunData) error {}

// checkIfReadyForAdditionalControlPlane ensures that the cluster is in a state that supports
// joining an additional control plane instance and if the node is ready to preflight
func checkIfReadyForAdditionalControlPlane(initConfiguration *kubeadmapi.ClusterConfiguration, hasCertificateKey bool) error {}