1KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7
9 kubeadm init phase certs apiserver - Generate the certificate for serv‐
10 ing the Kubernetes API
11
12
13
15 kubeadm init phase certs apiserver [OPTIONS]
16
17
18
20 Generate the certificate for serving the Kubernetes API, and save them
21 into apiserver.crt and apiserver.key files.
22
23
24 If both files already exist, kubeadm skips the generation step and ex‐
25 isting files will be used.
26
27
28 Alpha Disclaimer: this command is currently alpha.
29
30
31
33 --apiserver-advertise-address="" The IP address the API Server
34 will advertise it's listening on. If not set the default network inter‐
35 face will be used.
36
37
38 --apiserver-cert-extra-sans=[] Optional extra Subject Alternative
39 Names (SANs) to use for the API Server serving certificate. Can be both
40 IP addresses and DNS names.
41
42
43 --cert-dir="/etc/kubernetes/pki" The path where to save and store
44 the certificates.
45
46
47 --config="" Path to a kubeadm configuration file.
48
49
50 --control-plane-endpoint="" Specify a stable IP address or DNS
51 name for the control plane.
52
53
54 --dry-run=false Don't apply any changes; just output what would be
55 done.
56
57
58 --kubernetes-version="stable-1" Choose a specific Kubernetes ver‐
59 sion for the control plane.
60
61
62 --service-cidr="10.96.0.0/12" Use alternative range of IP address
63 for service VIPs.
64
65
66 --service-dns-domain="cluster.local" Use alternative domain for
67 services, e.g. "myorg.internal".
68
69
70
72 --azure-container-registry-config="" Path to the file containing
73 Azure container registry configuration information.
74
75
76 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
77 filesystem.
78
79
80 --version=false Print version information and quit
81
82
83
85 kubeadm-init-phase-certs(1),
86
87
88
90 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
91 com) based on the kubernetes source material, but hopefully they have
92 been automatically generated since!
93
94
95
96Manuals User KUBERNETES(1)(kubernetes)