Documentation ¶
Index ¶
- func EnsureAllAddons(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error
- func NewCmdAddon() *cobra.Command
- func NewCmdBootstrapToken() *cobra.Command
- func NewCmdCerts() *cobra.Command
- func NewCmdControlplane() *cobra.Command
- func NewCmdEtcd() *cobra.Command
- func NewCmdKubeConfig(out io.Writer) *cobra.Command
- func NewCmdKubelet() *cobra.Command
- func NewCmdKubeletAnnotateCRI() *cobra.Command
- func NewCmdKubeletConfig() *cobra.Command
- func NewCmdKubeletConfigDownload() *cobra.Command
- func NewCmdKubeletConfigEnableDynamic() *cobra.Command
- func NewCmdKubeletConfigUpload() *cobra.Command
- func NewCmdKubeletConfigWriteToDisk() *cobra.Command
- func NewCmdKubeletWriteEnvFile() *cobra.Command
- func NewCmdMarkMaster() *cobra.Command
- func NewCmdPhase(out io.Writer) *cobra.Command
- func NewCmdPreFlight() *cobra.Command
- func NewCmdPreFlightMaster(cfgPath *string, ignorePreflightErrors *[]string) *cobra.Command
- func NewCmdPreFlightNode(cfgPath *string, ignorePreflightErrors *[]string) *cobra.Command
- func NewCmdSelfhosting() *cobra.Command
- func NewCmdUploadConfig() *cobra.Command
- func NewSubCmdBootstrapToken(kubeConfigFile *string) *cobra.Command
- func NewSubCmdBootstrapTokenAll(kubeConfigFile *string) *cobra.Command
- func NewSubCmdClusterInfo(kubeConfigFile *string) *cobra.Command
- func NewSubCmdNodeBootstrapToken(kubeConfigFile *string) *cobra.Command
- func NewSubCmdNodeBootstrapTokenAutoApprove(kubeConfigFile *string) *cobra.Command
- func NewSubCmdNodeBootstrapTokenPostCSRs(kubeConfigFile *string) *cobra.Command
- func RunKubeletWriteEnvFile(cfgPath string) error
- func SetKubernetesVersion(client clientset.Interface, cfg *kubeadmapiv1alpha3.InitConfiguration) error
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
NewCmdAddon returns the addon Cobra command
func NewCmdBootstrapToken ¶ added in v1.8.0
NewCmdBootstrapToken returns the Cobra command for running the mark-master phase
func NewCmdCerts ¶
NewCmdCerts returns main command for certs phase
func NewCmdControlplane ¶ added in v1.8.0
NewCmdControlplane returns main command for Controlplane phase
func NewCmdEtcd ¶ added in v1.8.0
NewCmdEtcd returns main command for Etcd phase
func NewCmdKubeConfig ¶
NewCmdKubeConfig returns main command for kubeconfig phase
func NewCmdKubelet ¶ added in v1.11.0
NewCmdKubelet returns command for `kubeadm phase kubelet`
func NewCmdKubeletAnnotateCRI ¶ added in v1.12.0
NewCmdKubeletAnnotateCRI calls cobra.Command for annotating the node with the given crisocket
func NewCmdKubeletConfig ¶ added in v1.11.0
NewCmdKubeletConfig returns command for `kubeadm phase kubelet config`
func NewCmdKubeletConfigDownload ¶ added in v1.11.0
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
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
NewCmdKubeletConfigUpload calls cobra.Command for uploading dynamic kubelet configuration
func NewCmdKubeletConfigWriteToDisk ¶ added in v1.11.0
NewCmdKubeletConfigWriteToDisk calls cobra.Command for writing init kubelet configuration
func NewCmdKubeletWriteEnvFile ¶ added in v1.11.0
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
NewCmdMarkMaster returns the Cobra command for running the mark-master phase
func NewCmdPhase ¶
NewCmdPhase returns the cobra command for the "kubeadm phase" command (currently alpha-gated)
func NewCmdPreFlight ¶ added in v1.8.0
NewCmdPreFlight calls cobra.Command for preflight checks
func NewCmdPreFlightMaster ¶ added in v1.8.0
NewCmdPreFlightMaster calls cobra.Command for master preflight checks
func NewCmdPreFlightNode ¶ added in v1.8.0
NewCmdPreFlightNode calls cobra.Command for node preflight checks
func NewCmdSelfhosting ¶ added in v1.8.0
NewCmdSelfhosting returns the self-hosting Cobra command
func NewCmdUploadConfig ¶ added in v1.8.0
NewCmdUploadConfig returns the Cobra command for running the uploadconfig phase
func NewSubCmdBootstrapToken ¶ added in v1.9.0
NewSubCmdBootstrapToken returns the Cobra command for running the create token phase
func NewSubCmdBootstrapTokenAll ¶ added in v1.9.0
NewSubCmdBootstrapTokenAll returns the Cobra command for running the token all sub-phase
func NewSubCmdClusterInfo ¶ added in v1.8.0
NewSubCmdClusterInfo returns the Cobra command for running the cluster-info sub-phase
func NewSubCmdNodeBootstrapToken ¶ added in v1.8.0
NewSubCmdNodeBootstrapToken returns the Cobra command for running the node sub-phase
func NewSubCmdNodeBootstrapTokenAutoApprove ¶ added in v1.8.0
NewSubCmdNodeBootstrapTokenAutoApprove returns the Cobra command for running the allow-auto-approve sub-phase
func NewSubCmdNodeBootstrapTokenPostCSRs ¶ added in v1.8.0
NewSubCmdNodeBootstrapTokenPostCSRs returns the Cobra command for running the allow-post-csrs sub-phase
func RunKubeletWriteEnvFile ¶ added in v1.11.0
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.