Documentation ¶
Index ¶
- func NewAddonPhase() workflow.Phase
- func NewBootstrapTokenPhase() workflow.Phase
- func NewCertsPhase() workflow.Phase
- func NewControlPlanePhase() workflow.Phase
- func NewEtcdPhase() workflow.Phase
- func NewKubeConfigFilePhase(kubeConfigFileName string) workflow.Phase
- func NewKubeConfigPhase() workflow.Phase
- func NewKubeletStartPhase() workflow.Phase
- func NewMarkControlPlanePhase() workflow.Phase
- func NewPreflightMasterPhase() workflow.Phase
- func NewUploadConfigPhase() workflow.Phase
- func NewWaitControlPlanePhase() workflow.Phase
- func SetKubernetesVersion(cfg *kubeadmapiv1beta1.InitConfiguration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddonPhase ¶ added in v1.13.0
NewAddonPhase returns the addon Cobra command
func NewBootstrapTokenPhase ¶ added in v1.13.0
NewBootstrapTokenPhase returns the phase to boostrapToken
func NewCertsPhase ¶ added in v1.13.0
NewCertsPhase returns the phase for the certs
func NewControlPlanePhase ¶ added in v1.13.0
NewControlPlanePhase creates a kubeadm workflow phase that implements bootstrapping the control plane.
func NewEtcdPhase ¶ added in v1.13.0
NewEtcdPhase creates a kubeadm workflow phase that implements handling of etcd.
func NewKubeConfigFilePhase ¶ added in v1.13.0
NewKubeConfigFilePhase creates a kubeadm workflow phase that creates a kubeconfig file.
func NewKubeConfigPhase ¶ added in v1.13.0
NewKubeConfigPhase creates a kubeadm workflow phase that creates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.
func NewKubeletStartPhase ¶ added in v1.13.0
NewKubeletStartPhase creates a kubeadm workflow phase that start kubelet on a node.
func NewMarkControlPlanePhase ¶ added in v1.13.0
NewMarkControlPlanePhase creates a kubeadm workflow phase that implements mark-controlplane checks.
func NewPreflightMasterPhase ¶ added in v1.13.0
NewPreflightMasterPhase creates a kubeadm workflow phase that implements preflight checks for a new master node.
func NewUploadConfigPhase ¶ added in v1.13.0
NewUploadConfigPhase returns the phase to uploadConfig
func NewWaitControlPlanePhase ¶ added in v1.13.0
NewWaitControlPlanePhase is a hidden phase that runs after the control-plane and etcd phases
func SetKubernetesVersion ¶ added in v1.12.0
func SetKubernetesVersion(cfg *kubeadmapiv1beta1.InitConfiguration)
SetKubernetesVersion gets the current Kubeadm version and sets it as KubeadmVersion in the config, unless it's already set to a value different from the default.
Types ¶
This section is empty.