kubeadm-init-phase-bootstrap-token man page

kubeadm init phase bootstrap-token ā€” Generates bootstrap tokens used to join a node to a cluster

Synopsis

kubeadm init phase bootstrap-token [Options]

Description

Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a the control-plane node.

This command makes all the configurations required to make bootstrap tokens works and then creates an initial token.

Options

--config=""

Path to a kubeadm configuration file.

--kubeconfig="/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.

--skip-token-print=false

Skip printing of the default bootstrap token generated by 'kubeadm init'.

Options Inherited from Parent Commands

--azure-container-registry-config=""

Path to the file containing Azure container registry configuration information.

--log-flush-frequency=5s

Maximum number of seconds between log flushes

--rootfs=""

[EXPERIMENTAL] The path to the 'real' host root filesystem.

--version=false

Print version information and quit

Example

  # Make all the bootstrap token configurations and create an initial token, functionally
  # equivalent to what generated by kubeadm init.
  kubeadm init phase bootstrap-token

See Also

kubeadm-init-phase(1),

History

January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since!

Referenced By

kubeadm-init-phase(1).

kubernetes User Manuals Eric Paris Jan 2015