.nh .TH KUBERNETES(1) kubernetes User Manuals Eric Paris Jan 2015 .SH NAME kubeadm init phase bootstrap-token - Generates bootstrap tokens used to join a node to a cluster .SH SYNOPSIS \fBkubeadm init phase bootstrap-token\fP [OPTIONS] .SH DESCRIPTION Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node. .PP This command makes all the configurations required to make bootstrap tokens works and then creates an initial token. .SH OPTIONS \fB--config\fP="" Path to a kubeadm configuration file. .PP \fB--dry-run\fP=false Don't apply any changes; just output what would be done. .PP \fB--kubeconfig\fP="/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. .PP \fB--skip-token-print\fP=false Skip printing of the default bootstrap token generated by 'kubeadm init'. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--rootfs\fP="" The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. .PP \fB--version\fP=false --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version .SH EXAMPLE .EX # Make all the bootstrap token configurations and create an initial token, functionally # equivalent to what generated by kubeadm init. kubeadm init phase bootstrap-token .EE .SH SEE ALSO \fBkubeadm-init-phase(1)\fP, .SH 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!