1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubeadm init phase bootstrap-token - Generates bootstrap tokens used to
7 join a node to a cluster
8
9
10
12 kubeadm init phase bootstrap-token [OPTIONS]
13
14
15
17 Bootstrap tokens are used for establishing bidirectional trust between
18 a node joining the cluster and a the control-plane node.
19
20
21 This command makes all the configurations required to make bootstrap
22 tokens works and then creates an initial token.
23
24
25
27 --config=""
28 Path to a kubeadm configuration file.
29
30
31 --kubeconfig="/etc/kubernetes/admin.conf"
32 The kubeconfig file to use when talking to the cluster. If the flag
33 is not set, a set of standard locations can be searched for an existing
34 kubeconfig file.
35
36
37 --skip-token-print=false
38 Skip printing of the default bootstrap token generated by 'kubeadm
39 init'.
40
41
42
44 --azure-container-registry-config=""
45 Path to the file containing Azure container registry configuration
46 information.
47
48
49 --log-flush-frequency=5s
50 Maximum number of seconds between log flushes
51
52
53 --rootfs=""
54 [EXPERIMENTAL] The path to the 'real' host root filesystem.
55
56
57 --version=false
58 Print version information and quit
59
60
61
63 # Make all the bootstrap token configurations and create an initial token, functionally
64 # equivalent to what generated by kubeadm init.
65 kubeadm init phase bootstrap-token
66
67
68
69
71 kubeadm-init-phase(1),
72
73
74
76 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
77 com) based on the kubernetes source material, but hopefully they have
78 been automatically generated since!
79
80
81
82Eric Paris kubernetes User Manuals KUBERNETES(1)