kubeadm alpha

Caution: kubeadm alpha provides a preview of a set of features made available for gathering feedback from the community. Please try it out and give us feedback!

kubeadm alpha kubeconfig user

The user subcommand can be used for the creation of kubeconfig files for additional users.

Synopsis

Kubeconfig file utilities.

Alpha Disclaimer: this command is currently alpha.

Options

-h, —help
help for kubeconfig

Options inherited from parent commands

—rootfs string
[EXPERIMENTAL] The path to the ‘real’ host root filesystem.

Synopsis

Output a kubeconfig file for an additional user.

Alpha Disclaimer: this command is currently alpha.

  1. kubeadm alpha kubeconfig user [flags]

Examples

  1. # Output a kubeconfig file for an additional user named foo using a kubeadm config file bar
  2. kubeadm alpha kubeconfig user --client-name=foo --config=bar

Options

—client-name string
The name of user. It will be used as the CN if client certificates are created
—config string
Path to a kubeadm configuration file.
-h, —help
help for user
—org stringSlice
The orgnizations of the client certificate. It will be used as the O if client certificates are created
—token string
The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates

Options inherited from parent commands

—rootfs string
[EXPERIMENTAL] The path to the ‘real’ host root filesystem.

kubeadm alpha kubelet config

Use the following command to enable the DynamicKubeletConfiguration feature.

Synopsis

This command is not meant to be run on its own. See list of available subcommands.

Options

-h, —help
help for kubelet

Options inherited from parent commands

—rootfs string
[EXPERIMENTAL] The path to the ‘real’ host root filesystem.

Synopsis

Enable or update dynamic kubelet configuration for a Node, against the kubelet-config-1.X ConfigMap in the cluster, where X is the minor version of the desired kubelet version.

WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it may have surprising side-effects at this stage.

Alpha Disclaimer: this command is currently alpha.

  1. kubeadm alpha kubelet config enable-dynamic [flags]

Examples

  1. # Enable dynamic kubelet configuration for a Node.
  2. kubeadm alpha phase kubelet enable-dynamic-config --node-name node-1 --kubelet-version 1.18.0
  3. WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it
  4. may have surprising side-effects at this stage.

Options

-h, —help
help for enable-dynamic
—kubeconfig string     Default: “/etc/kubernetes/admin.conf”
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
—kubelet-version string
The desired version for the kubelet
—node-name string
Name of the node that should enable the dynamic kubelet configuration

Options inherited from parent commands

—rootfs string
[EXPERIMENTAL] The path to the ‘real’ host root filesystem.

kubeadm alpha selfhosting pivot

The subcommand pivot can be used to convert a static Pod-hosted control plane into a self-hosted one.

Documentation

Synopsis

This command is not meant to be run on its own. See list of available subcommands.

Options

-h, —help
help for selfhosting

Options inherited from parent commands

—rootfs string
[EXPERIMENTAL] The path to the ‘real’ host root filesystem.

Synopsis

Convert static Pod files for control plane components into self-hosted DaemonSets configured via the Kubernetes API.

See the documentation for self-hosting limitations.

Alpha Disclaimer: this command is currently alpha.

  1. kubeadm alpha selfhosting pivot [flags]

Examples

  1. # Convert a static Pod-hosted control plane into a self-hosted one.
  2. kubeadm alpha phase self-hosting convert-from-staticpods

Options

—cert-dir string     Default: “/etc/kubernetes/pki”
The path where certificates are stored
—config string
Path to a kubeadm configuration file.
-f, —force
Pivot the cluster without prompting for confirmation
-h, —help
help for pivot
—kubeconfig string     Default: “/etc/kubernetes/admin.conf”
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
-s, —store-certs-in-secrets
Enable storing certs in secrets

Options inherited from parent commands

—rootfs string
[EXPERIMENTAL] The path to the ‘real’ host root filesystem.

What’s next

  • kubeadm init to bootstrap a Kubernetes control-plane node
  • kubeadm join to connect a node to the cluster
  • kubeadm reset to revert any changes made to this host by kubeadm init or kubeadm join