phases

package
v0.0.0-...-d75b2e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Directories

Path Synopsis
Package workflow implements a workflow manager to be used for implementing composable kubeadm workflows.
Package workflow implements a workflow manager to be used for implementing composable kubeadm workflows.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL