1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubeadm token generate - Generate and print a bootstrap token, but do
7 not create it on the server.
8
9
10
12 kubeadm token generate [OPTIONS]
13
14
15
17 This command will print out a randomly-generated bootstrap token that
18 can be used with the "init" and "join" commands.
19
20
21 You don't have to use this command in order to generate a token. You
22 can do so yourself as long as it is in the format
23 "[a-z0-9]{6}.[a-z0-9]{16}". This command is provided for convenience to
24 generate tokens in the given format.
25
26
27 You can also use "kubeadm init" without specifying a token and it will
28 generate and print one for you.
29
30
31
33 --azure-container-registry-config=""
34 Path to the file containing Azure container registry configuration
35 information.
36
37
38 --dry-run=false
39 Whether to enable dry-run mode or not
40
41
42 --google-json-key=""
43 The Google Cloud Platform Service Account JSON Key to use for
44 authentication.
45
46
47 --kubeconfig="/etc/kubernetes/admin.conf"
48 The KubeConfig file to use when talking to the cluster. If the flag
49 is not set, a set of standard locations are searched for an existing
50 KubeConfig file.
51
52
53 --log-flush-frequency=5s
54 Maximum number of seconds between log flushes
55
56
57 --rootfs=""
58 [EXPERIMENTAL] The path to the 'real' host root filesystem.
59
60
61 --version=false
62 Print version information and quit
63
64
65
67 kubeadm-token(1),
68
69
70
72 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
73 com) based on the kubernetes source material, but hopefully they have
74 been automatically generated since!
75
76
77
78Eric Paris kubernetes User Manuals KUBERNETES(1)