1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubeadm token create - Create bootstrap tokens on the server
7
8
9
11 kubeadm token create [OPTIONS]
12
13
14
16 This command will create a bootstrap token for you. You can specify
17 the usages for this token, the "time to live" and an optional human
18 friendly description.
19
20
21 The [token] is the actual token to write. This should be a securely
22 generated random token of the form "[a-z0-9]{6}.[a-z0-9]{16}". If no
23 [token] is given, kubeadm will generate a random token instead.
24
25
26
28 --certificate-key=""
29 When used together with '--print-join-command', print the full
30 'kubeadm join' flag needed to join the cluster as a control-plane. To
31 create a new certificate key you must use 'kubeadm init phase
32 upload-certs --upload-certs'.
33
34
35 --config=""
36 Path to a kubeadm configuration file.
37
38
39 --description=""
40 A human friendly description of how this token is used.
41
42
43 --groups=[system:bootstrappers:kubeadm:default-node-token]
44 Extra groups that this token will authenticate as when used for
45 authentication. Must match
46 "\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\z"
47
48
49 --print-join-command=false
50 Instead of printing only the token, print the full 'kubeadm join'
51 flag needed to join the cluster using the token.
52
53
54 --ttl=24h0m0s
55 The duration before the token is automatically deleted (e.g. 1s,
56 2m, 3h). If set to '0', the token will never expire
57
58
59 --usages=[signing,authentication]
60 Describes the ways in which this token can be used. You can pass
61 --usages multiple times or provide a comma separated list of options.
62 Valid options: [signing,authentication]
63
64
65
67 --azure-container-registry-config=""
68 Path to the file containing Azure container registry configuration
69 information.
70
71
72 --dry-run=false
73 Whether to enable dry-run mode or not
74
75
76 --kubeconfig="/etc/kubernetes/admin.conf"
77 The kubeconfig file to use when talking to the cluster. If the flag
78 is not set, a set of standard locations can be searched for an existing
79 kubeconfig file.
80
81
82 --log-flush-frequency=5s
83 Maximum number of seconds between log flushes
84
85
86 --rootfs=""
87 [EXPERIMENTAL] The path to the 'real' host root filesystem.
88
89
90 --version=false
91 Print version information and quit
92
93
94
96 kubeadm-token(1),
97
98
99
101 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
102 com) based on the kubernetes source material, but hopefully they have
103 been automatically generated since!
104
105
106
107Eric Paris kubernetes User Manuals KUBERNETES(1)