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 --config=""
29 Path to kubeadm config file (WARNING: Usage of a configuration file
30 is experimental)
31
32
33 --description=""
34 A human friendly description of how this token is used.
35
36
37 --groups=[system:bootstrappers:kubeadm:default-node-token]
38 Extra groups that this token will authenticate as when used for
39 authentication. Must match "\Asystem:bootstrapâ
40 pers:[a-z0-9:-]{0,255}[a-z0-9]\z"
41
42
43 --print-join-command=false
44 Instead of printing only the token, print the full 'kubeadm join'
45 flag needed to join the cluster using the token.
46
47
48 --ttl=24h0m0s
49 The duration before the token is automatically deleted (e.g. 1s,
50 2m, 3h). If set to '0', the token will never expire
51
52
53 --usages=[signing,authentication]
54 Describes the ways in which this token can be used. You can pass
55 --usages multiple times or provide a comma separated list of options.
56 Valid options: [signing,authentication]
57
58
59
61 --azure-container-registry-config=""
62 Path to the file containing Azure container registry configuration
63 information.
64
65
66 --dry-run=false
67 Whether to enable dry-run mode or not
68
69
70 --kubeconfig="/etc/kubernetes/admin.conf"
71 The kubeconfig file to use when talking to the cluster. If the flag
72 is not set, a set of standard locations are searched for an existing
73 KubeConfig file.
74
75
76 --log-flush-frequency=5s
77 Maximum number of seconds between log flushes
78
79
80 --rootfs=""
81 [EXPERIMENTAL] The path to the 'real' host root filesystem.
82
83
84 --version=false
85 Print version information and quit
86
87
88
90 kubeadm-token(1),
91
92
93
95 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
96 com) based on the kubernetes source material, but hopefully they have
97 been automatically generated since!
98
99
100
101Eric Paris kubernetes User Manuals KUBERNETES(1)