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 --kubernetes-version="stable-1" Choose a specific Kubernetes ver‐
55 sion for the control plane.
56
57
58 --service-cidr="10.96.0.0/12" Use alternative range of IP address
59 for service VIPs.
60
61
62 --service-dns-domain="cluster.local" Use alternative domain for
63 services, e.g. "myorg.internal".
64
65
66
68 --azure-container-registry-config="" Path to the file containing
69 Azure container registry configuration information.
70
71
72 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
73 filesystem.
74
75
76 --version=false Print version information and quit
77
78
79
81 kubeadm-init-phase-certs(1),
82
83
84
86 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
87 com) based on the kubernetes source material, but hopefully they have
88 been automatically generated since!
89
90
91
92Manuals User KUBERNETES(1)(kubernetes)