package phases
import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases"
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)
Functions ¶
func NewAddonPhase ¶
NewAddonPhase returns the addon Cobra command
func NewBootstrapTokenPhase ¶
NewBootstrapTokenPhase returns the phase to boostrapToken
func NewCertsPhase ¶
NewCertsPhase returns the phase for the certs
func NewControlPlanePhase ¶
NewControlPlanePhase creates a kubeadm workflow phase that implements bootstrapping the control plane.
func NewEtcdPhase ¶
NewEtcdPhase creates a kubeadm workflow phase that implements handling of etcd.
func NewKubeConfigFilePhase ¶
NewKubeConfigFilePhase creates a kubeadm workflow phase that creates a kubeconfig file.
func NewKubeConfigPhase ¶
NewKubeConfigPhase creates a kubeadm workflow phase that creates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.
func NewKubeletStartPhase ¶
NewKubeletStartPhase creates a kubeadm workflow phase that start kubelet on a node.
func NewMarkControlPlanePhase ¶
NewMarkControlPlanePhase creates a kubeadm workflow phase that implements mark-controlplane checks.
func NewPreflightMasterPhase ¶
NewPreflightMasterPhase creates a kubeadm workflow phase that implements preflight checks for a new master node.
func NewUploadConfigPhase ¶
NewUploadConfigPhase returns the phase to uploadConfig
func NewWaitControlPlanePhase ¶
NewWaitControlPlanePhase is a hidden phase that runs after the control-plane and etcd phases
func SetKubernetesVersion ¶
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.
Source Files ¶
addons.go bootstraptoken.go certs.go controlplane.go etcd.go kubeconfig.go kubelet.go markcontrolplane.go preflight.go uploadconfig.go util.go waitcontrolplane.go
Directories ¶
Path | Synopsis |
---|---|
cmd/kubeadm/app/cmd/phases/workflow | Package workflow implements a workflow manager to be used for implementing composable kubeadm workflows. |
- Version
- v1.13.8
- Published
- Jul 4, 2019
- Platform
- js/wasm
- Imports
- 44 packages
- Last checked
- 4 minutes ago –
Tools for package owners.