phases

package
v1.12.6-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 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 added in v1.8.0

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

EnsureAllAddons installs all addons to a Kubernetes cluster

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 NewCmdCerts

func NewCmdCerts() *cobra.Command

NewCmdCerts returns main command for certs phase

func NewCmdControlplane added in v1.8.0

func NewCmdControlplane() *cobra.Command

NewCmdControlplane returns main command for Controlplane phase

func NewCmdEtcd added in v1.8.0

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

func NewCmdKubelet() *cobra.Command

NewCmdKubelet returns command for `kubeadm phase kubelet`

func NewCmdKubeletAnnotateCRI added in v1.12.0

func NewCmdKubeletAnnotateCRI() *cobra.Command

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

func NewCmdKubeletConfig added in v1.11.0

func NewCmdKubeletConfig() *cobra.Command

NewCmdKubeletConfig returns command for `kubeadm phase kubelet config`

func NewCmdKubeletConfigDownload added in v1.11.0

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

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

func NewCmdKubeletConfigUpload() *cobra.Command

NewCmdKubeletConfigUpload calls cobra.Command for uploading dynamic kubelet configuration

func NewCmdKubeletConfigWriteToDisk added in v1.11.0

func NewCmdKubeletConfigWriteToDisk() *cobra.Command

NewCmdKubeletConfigWriteToDisk calls cobra.Command for writing init kubelet configuration

func NewCmdKubeletWriteEnvFile added in v1.11.0

func NewCmdKubeletWriteEnvFile() *cobra.Command

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

func NewCmdMarkMaster added in v1.8.0

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

func NewCmdPreFlight() *cobra.Command

NewCmdPreFlight calls cobra.Command for preflight checks

func NewCmdPreFlightMaster added in v1.8.0

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

NewCmdPreFlightMaster calls cobra.Command for master preflight checks

func NewCmdPreFlightNode added in v1.8.0

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

NewCmdPreFlightNode calls cobra.Command for node preflight checks

func NewCmdSelfhosting added in v1.8.0

func NewCmdSelfhosting() *cobra.Command

NewCmdSelfhosting returns the self-hosting Cobra command

func NewCmdUploadConfig added in v1.8.0

func NewCmdUploadConfig() *cobra.Command

NewCmdUploadConfig returns the Cobra command for running the uploadconfig phase

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

func RunKubeletWriteEnvFile(cfgPath string) error

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

func SetKubernetesVersion added in v1.12.0

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