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 kubeadm config file. WARNING: Usage of a configuration file
29 is experimental.
30
31
32 --kubeconfig="/etc/kubernetes/admin.conf"
33 The kubeconfig file to use when talking to the cluster. If the flag
34 is not set, a set of standard locations are searched for an existing
35 KubeConfig file.
36
37
38 --skip-token-print=false
39 Skip printing of the default bootstrap token generated by 'kubeadm
40 init'.
41
42
43
45 --azure-container-registry-config=""
46 Path to the file containing Azure container registry configuration
47 information.
48
49
50 --log-flush-frequency=5s
51 Maximum number of seconds between log flushes
52
53
54 --rootfs=""
55 [EXPERIMENTAL] The path to the 'real' host root filesystem.
56
57
58 --version=false
59 Print version information and quit
60
61
62
64 # Makes all the bootstrap token configurations and creates an initial token, functionally
65 # equivalent to what generated by kubeadm init.
66 kubeadm init phase bootstrap-token
67
68
69
70
72 kubeadm-init-phase(1),
73
74
75
77 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
78 com) based on the kubernetes source material, but hopefully they have
79 been automatically generated since!
80
81
82
83Eric Paris kubernetes User Manuals KUBERNETES(1)