1KUBERNETES(1)(kubernetes)                            KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7

NAME

9       kubeadm token create - Create bootstrap tokens on the server
10
11
12

SYNOPSIS

14       kubeadm token create [OPTIONS]
15
16
17

DESCRIPTION

19       This  command  will  create a bootstrap token for you.  You can specify
20       the usages for this token, the "time to live"  and  an  optional  human
21       friendly description.
22
23
24       The  [token]  is  the actual token to write.  This should be a securely
25       generated random token of the form "[a-z0-9]{6}.[a-z0-9]{16}".   If  no
26       [token] is given, kubeadm will generate a random token instead.
27
28
29

OPTIONS

31       --certificate-key=""       When  used  together with '--print-join-com‐
32       mand', print the full 'kubeadm join' flag needed to join the cluster as
33       a  control-plane. To create a new certificate key you must use 'kubeadm
34       init phase upload-certs --upload-certs'.
35
36
37       --config=""      Path to a kubeadm configuration file.
38
39
40       --description=""      A human friendly description of how this token is
41       used.
42
43
44       --groups=[system:bootstrappers:kubeadm:default-node-token]        Extra
45       groups that this token will authenticate as when used  for  authentica‐
46       tion. Must match "\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\z"
47
48
49       --print-join-command=false       Instead  of  printing  only the token,
50       print the full 'kubeadm join' flag needed to join the cluster using the
51       token.
52
53
54       --ttl=24h0m0s       The  duration  before  the  token  is automatically
55       deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire
56
57
58       --usages=[signing,authentication]      Describes the ways in which this
59       token  can  be  used. You can pass --usages multiple times or provide a
60       comma separated list of options.  Valid  options:  [signing,authentica‐
61       tion]
62
63
64

OPTIONS INHERITED FROM PARENT COMMANDS

66       --azure-container-registry-config=""       Path  to the file containing
67       Azure container registry configuration information.
68
69
70       --dry-run=false      Whether to enable dry-run mode or not
71
72
73       --kubeconfig="/etc/kubernetes/admin.conf"      The kubeconfig  file  to
74       use when talking to the cluster. If the flag is not set, a set of stan‐
75       dard locations can be searched for an existing kubeconfig file.
76
77
78       --rootfs=""      [EXPERIMENTAL]  The  path  to  the  'real'  host  root
79       filesystem.
80
81
82       --version=false      Print version information and quit
83
84
85

SEE ALSO

87       kubeadm-token(1),
88
89
90

HISTORY

92       January  2015,  Originally compiled by Eric Paris (eparis at redhat dot
93       com) based on the kubernetes source material, but hopefully  they  have
94       been automatically generated since!
95
96
97
98Manuals                              User            KUBERNETES(1)(kubernetes)
Impressum