phases

package
v0.0.0-...-591f14e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAllAddons

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

EnsureAllAddons installs all addons to a Kubernetes cluster

func NewCmdAddon

func NewCmdAddon() *cobra.Command

NewCmdAddon returns the addon Cobra command

func NewCmdBootstrapToken

func NewCmdBootstrapToken() *cobra.Command

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

func NewCmdCerts

func NewCmdCerts() *cobra.Command

NewCmdCerts returns main command for certs phase

func NewCmdControlplane

func NewCmdControlplane() *cobra.Command

NewCmdControlplane returns main command for Controlplane phase

func NewCmdEtcd

func NewCmdEtcd() *cobra.Command

NewCmdEtcd returns main command for Etcd phase

func NewCmdKubeConfig

func NewCmdKubeConfig(out io.Writer) *cobra.Command

NewCmdKubeConfig returns main command for kubeconfig phase

func NewCmdKubelet

func NewCmdKubelet() *cobra.Command

NewCmdKubelet returns command for `kubeadm phase kubelet`

func NewCmdKubeletAnnotateCRI

func NewCmdKubeletAnnotateCRI() *cobra.Command

NewCmdKubeletAnnotateCRI calls cobra.Command for annotating the node with the given crisocket

func NewCmdKubeletConfig

func NewCmdKubeletConfig() *cobra.Command

NewCmdKubeletConfig returns command for `kubeadm phase kubelet config`

func NewCmdKubeletConfigDownload

func NewCmdKubeletConfigDownload() *cobra.Command

NewCmdKubeletConfigDownload calls cobra.Command for downloading the kubelet configuration from the kubelet-config-1.X ConfigMap in the cluster

func NewCmdKubeletConfigEnableDynamic

func NewCmdKubeletConfigEnableDynamic() *cobra.Command

NewCmdKubeletConfigEnableDynamic calls cobra.Command for enabling dynamic kubelet configuration on node This feature is still in alpha and an experimental state

func NewCmdKubeletConfigUpload

func NewCmdKubeletConfigUpload() *cobra.Command

NewCmdKubeletConfigUpload calls cobra.Command for uploading dynamic kubelet configuration

func NewCmdKubeletConfigWriteToDisk

func NewCmdKubeletConfigWriteToDisk() *cobra.Command

NewCmdKubeletConfigWriteToDisk calls cobra.Command for writing init kubelet configuration

func NewCmdKubeletWriteEnvFile

func NewCmdKubeletWriteEnvFile() *cobra.Command

NewCmdKubeletWriteEnvFile calls cobra.Command for writing the dynamic kubelet env file based on a InitConfiguration or JoinConfiguration object

func NewCmdMarkMaster

func NewCmdMarkMaster() *cobra.Command

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

func NewCmdPhase

func NewCmdPhase(out io.Writer) *cobra.Command

NewCmdPhase returns the cobra command for the "kubeadm phase" command (currently alpha-gated)

func NewCmdPreFlight

func NewCmdPreFlight() *cobra.Command

NewCmdPreFlight calls cobra.Command for preflight checks

func NewCmdPreFlightMaster

func NewCmdPreFlightMaster(cfgPath *string, ignorePreflightErrors *[]string) *cobra.Command

NewCmdPreFlightMaster calls cobra.Command for master preflight checks

func NewCmdPreFlightNode

func NewCmdPreFlightNode(cfgPath *string, ignorePreflightErrors *[]string) *cobra.Command

NewCmdPreFlightNode calls cobra.Command for node preflight checks

func NewCmdSelfhosting

func NewCmdSelfhosting() *cobra.Command

NewCmdSelfhosting returns the self-hosting Cobra command

func NewCmdUploadConfig

func NewCmdUploadConfig() *cobra.Command

NewCmdUploadConfig returns the Cobra command for running the uploadconfig phase

func NewSubCmdBootstrapToken

func NewSubCmdBootstrapToken(kubeConfigFile *string) *cobra.Command

NewSubCmdBootstrapToken returns the Cobra command for running the create token phase

func NewSubCmdBootstrapTokenAll

func NewSubCmdBootstrapTokenAll(kubeConfigFile *string) *cobra.Command

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

func NewSubCmdClusterInfo

func NewSubCmdClusterInfo(kubeConfigFile *string) *cobra.Command

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

func NewSubCmdNodeBootstrapToken

func NewSubCmdNodeBootstrapToken(kubeConfigFile *string) *cobra.Command

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

func NewSubCmdNodeBootstrapTokenAutoApprove

func NewSubCmdNodeBootstrapTokenAutoApprove(kubeConfigFile *string) *cobra.Command

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

func NewSubCmdNodeBootstrapTokenPostCSRs

func NewSubCmdNodeBootstrapTokenPostCSRs(kubeConfigFile *string) *cobra.Command

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

func RunKubeletWriteEnvFile

func RunKubeletWriteEnvFile(cfgPath string) error

RunKubeletWriteEnvFile is the function that is run when "kubeadm phase kubelet write-env-file" is executed

func SetKubernetesVersion

func SetKubernetesVersion(client clientset.Interface, cfg *kubeadmapiv1alpha3.InitConfiguration) error

SetKubernetesVersion gets current Kubeadm version and sets it as Kubernetes version of master configuration if not set.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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