package phases

import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases"

Index

Functions

func NewAddonPhase

func NewAddonPhase() workflow.Phase

NewAddonPhase returns the addon Cobra command

func NewBootstrapTokenPhase

func NewBootstrapTokenPhase() workflow.Phase

NewBootstrapTokenPhase returns the phase to boostrapToken

func NewCertsPhase

func NewCertsPhase() workflow.Phase

NewCertsPhase returns the phase for the certs

func NewControlPlanePhase

func NewControlPlanePhase() workflow.Phase

NewControlPlanePhase creates a kubeadm workflow phase that implements bootstrapping the control plane.

func NewEtcdPhase

func NewEtcdPhase() workflow.Phase

NewEtcdPhase creates a kubeadm workflow phase that implements handling of etcd.

func NewKubeConfigFilePhase

func NewKubeConfigFilePhase(kubeConfigFileName string) workflow.Phase

NewKubeConfigFilePhase creates a kubeadm workflow phase that creates a kubeconfig file.

func NewKubeConfigPhase

func NewKubeConfigPhase() workflow.Phase

NewKubeConfigPhase creates a kubeadm workflow phase that creates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.

func NewKubeletStartPhase

func NewKubeletStartPhase() workflow.Phase

NewKubeletStartPhase creates a kubeadm workflow phase that start kubelet on a node.

func NewMarkControlPlanePhase

func NewMarkControlPlanePhase() workflow.Phase

NewMarkControlPlanePhase creates a kubeadm workflow phase that implements mark-controlplane checks.

func NewPreflightMasterPhase

func NewPreflightMasterPhase() workflow.Phase

NewPreflightMasterPhase creates a kubeadm workflow phase that implements preflight checks for a new master node.

func NewUploadConfigPhase

func NewUploadConfigPhase() workflow.Phase

NewUploadConfigPhase returns the phase to uploadConfig

func NewWaitControlPlanePhase

func NewWaitControlPlanePhase() workflow.Phase

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

PathSynopsis
cmd/kubeadm/app/cmd/phases/workflowPackage workflow implements a workflow manager to be used for implementing composable kubeadm workflows.
Version
v1.13.5
Published
Mar 22, 2019
Platform
linux/amd64
Imports
44 packages
Last checked
1 minute ago

Tools for package owners.