1KUBERNETES(1)                      Jan 2015                      KUBERNETES(1)
2
3
4

NAME

6       kubeadm token create - Create bootstrap tokens on the server
7
8
9

SYNOPSIS

11       kubeadm token create [OPTIONS]
12
13
14

DESCRIPTION

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

OPTIONS

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

OPTIONS INHERITED FROM PARENT COMMANDS

60       --azure-container-registry-config=""
61           Path  to the file containing Azure container registry configuration
62       information.
63
64
65       --dry-run=false
66           Whether to enable dry-run mode or not
67
68
69       --kubeconfig="/etc/kubernetes/admin.conf"
70           The kubeconfig file to use when talking to the cluster. If the flag
71       is not set, a set of standard locations can be searched for an existing
72       kubeconfig file.
73
74
75       --log-flush-frequency=5s
76           Maximum number of seconds between log flushes
77
78
79       --rootfs=""
80           [EXPERIMENTAL] The path to the 'real' host root filesystem.
81
82
83       --version=false
84           Print version information and quit
85
86
87

SEE ALSO

89       kubeadm-token(1),
90
91
92

HISTORY

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