phases

package
v1.13.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAllAddons added in v1.8.0

func EnsureAllAddons(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error

EnsureAllAddons installs all addons to a Kubernetes cluster

func NewCertsPhase added in v1.13.0

func NewCertsPhase() workflow.Phase

NewCertsPhase returns the phase for the certs

func NewCmdAddon added in v1.8.0

func NewCmdAddon() *cobra.Command

NewCmdAddon returns the addon Cobra command

func NewCmdBootstrapToken added in v1.8.0

func NewCmdBootstrapToken() *cobra.Command

NewCmdBootstrapToken returns the Cobra command for running the mark-master phase

func NewCmdMarkMaster added in v1.8.0

func NewCmdMarkMaster() *cobra.Command

NewCmdMarkMaster returns the Cobra command for running the mark-master phase

func NewCmdSelfhosting added in v1.8.0

func NewCmdSelfhosting() *cobra.Command

NewCmdSelfhosting returns the self-hosting Cobra command

func NewControlPlanePhase added in v1.13.0

func NewControlPlanePhase() workflow.Phase

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

func NewControlPlaneWaiter

func NewControlPlaneWaiter(dryRun bool, timeout time.Duration, client clientset.Interface, out io.Writer) (apiclient.Waiter, error)

NewControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up. TODO: make private (lowercase) after self-hosting phase is removed.

func NewEtcdPhase added in v1.13.0

func NewEtcdPhase() workflow.Phase

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

func NewKubeConfigFilePhase added in v1.13.0

func NewKubeConfigFilePhase(kubeConfigFileName string) workflow.Phase

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

func NewKubeConfigPhase added in v1.13.0

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 added in v1.13.0

func NewKubeletStartPhase() workflow.Phase

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

func NewPreflightMasterPhase added in v1.13.0

func NewPreflightMasterPhase() workflow.Phase

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

func NewSubCmdBootstrapToken added in v1.9.0

func NewSubCmdBootstrapToken(kubeConfigFile *string) *cobra.Command

NewSubCmdBootstrapToken returns the Cobra command for running the create token phase

func NewSubCmdBootstrapTokenAll added in v1.9.0

func NewSubCmdBootstrapTokenAll(kubeConfigFile *string) *cobra.Command

NewSubCmdBootstrapTokenAll returns the Cobra command for running the token all sub-phase

func NewSubCmdClusterInfo added in v1.8.0

func NewSubCmdClusterInfo(kubeConfigFile *string) *cobra.Command

NewSubCmdClusterInfo returns the Cobra command for running the cluster-info sub-phase

func NewSubCmdNodeBootstrapToken added in v1.8.0

func NewSubCmdNodeBootstrapToken(kubeConfigFile *string) *cobra.Command

NewSubCmdNodeBootstrapToken returns the Cobra command for running the node sub-phase

func NewSubCmdNodeBootstrapTokenAutoApprove added in v1.8.0

func NewSubCmdNodeBootstrapTokenAutoApprove(kubeConfigFile *string) *cobra.Command

NewSubCmdNodeBootstrapTokenAutoApprove returns the Cobra command for running the allow-auto-approve sub-phase

func NewSubCmdNodeBootstrapTokenPostCSRs added in v1.8.0

func NewSubCmdNodeBootstrapTokenPostCSRs(kubeConfigFile *string) *cobra.Command

NewSubCmdNodeBootstrapTokenPostCSRs returns the Cobra command for running the allow-post-csrs sub-phase

func NewUploadConfigPhase added in v1.13.0

func NewUploadConfigPhase() workflow.Phase

NewUploadConfigPhase returns the phase to uploadConfig

func NewWaitControlPlanePhase added in v1.13.0

func NewWaitControlPlanePhase() workflow.Phase

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.

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