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

NAME

6       kubeadm  init - Run this command in order to set up the Kubernetes mas‐
7       ter.
8
9
10

SYNOPSIS

12       kubeadm init [OPTIONS]
13
14
15

DESCRIPTION

17       Run this command in order to set up the Kubernetes master.
18
19
20

OPTIONS

22       --apiserver-advertise-address=""
23           The IP address the API Server will  advertise  it's  listening  on.
24       Specify '0.0.0.0' to use the address of the default network interface.
25
26
27       --apiserver-bind-port=6443
28           Port for the API Server to bind to.
29
30
31       --apiserver-cert-extra-sans=[]
32           Optional  extra Subject Alternative Names (SANs) to use for the API
33       Server serving certificate. Can be both IP addresses and DNS names.
34
35
36       --cert-dir="/etc/kubernetes/pki"
37           The path where to save and store the certificates.
38
39
40       --config=""
41           Path to kubeadm config file. WARNING: Usage of a configuration file
42       is experimental.
43
44
45       --cri-socket="/var/run/dockershim.sock"
46           Specify the CRI socket to connect to.
47
48
49       --dry-run=false
50           Don't apply any changes; just output what would be done.
51
52
53       --feature-gates=""
54           A  set  of  key=value pairs that describe feature gates for various
55       features. Options  are:  Auditing=true|false  (ALPHA  -  default=false)
56       CoreDNS=true|false (default=true) DynamicKubeletConfig=true|false (BETA
57       - default=false)
58
59
60       --ignore-preflight-errors=[]
61           A list of checks whose errors will be shown as  warnings.  Example:
62       'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
63
64
65       --kubernetes-version="stable-1"
66           Choose a specific Kubernetes version for the control plane.
67
68
69       --node-name=""
70           Specify the node name.
71
72
73       --pod-network-cidr=""
74           Specify range of IP addresses for the pod network. If set, the con‐
75       trol plane will automatically allocate CIDRs for every node.
76
77
78       --service-cidr="10.96.0.0/12"
79           Use alternative range of IP address for service VIPs.
80
81
82       --service-dns-domain="cluster.local"
83           Use alternative domain for services, e.g. "myorg.internal".
84
85
86       --skip-token-print=false
87           Skip printing of the default bootstrap token generated by  'kubeadm
88       init'.
89
90
91       --token=""
92           The token to use for establishing bidirectional trust between nodes
93       and  masters.   The   format   is   [a-z0-9]{6}.[a-z0-9]{16}   -   e.g.
94       abcdef.0123456789abcdef
95
96
97       --token-ttl=24h0m0s
98           The  duration  before  the token is automatically deleted (e.g. 1s,
99       2m, 3h). If set to '0', the token will never expire
100
101
102

OPTIONS INHERITED FROM PARENT COMMANDS

104       --azure-container-registry-config=""
105           Path to the file containing Azure container registry  configuration
106       information.
107
108
109       --google-json-key=""
110           The  Google  Cloud  Platform  Service  Account  JSON Key to use for
111       authentication.
112
113
114       --log-flush-frequency=5s
115           Maximum number of seconds between log flushes
116
117
118       --rootfs=""
119           [EXPERIMENTAL] The path to the 'real' host root filesystem.
120
121
122       --version=false
123           Print version information and quit
124
125
126

SEE ALSO

128       kubeadm(1),
129
130
131

HISTORY

133       January 2015, Originally compiled by Eric Paris (eparis at  redhat  dot
134       com)  based  on the kubernetes source material, but hopefully they have
135       been automatically generated since!
136
137
138
139Eric Paris                  kubernetes User Manuals              KUBERNETES(1)
Impressum