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.cert and apiserver.key files.
22
23
24 Default SANs are kubernetes, kubernetes.default, kubernetes.de‐
25 fault.svc, kubernetes.default.svc.cluster.local, 10.96.0.1, 127.0.0.1
26
27
28 If both files already exist, kubeadm skips the generation step and ex‐
29 isting files will be used.
30
31
32 Alpha Disclaimer: this command is currently alpha.
33
34
35
37 --apiserver-advertise-address="" The IP address the API Server
38 will advertise it's listening on. If not set the default network inter‐
39 face will be used.
40
41
42 --apiserver-cert-extra-sans=[] Optional extra Subject Alternative
43 Names (SANs) to use for the API Server serving certificate. Can be both
44 IP addresses and DNS names.
45
46
47 --cert-dir="/etc/kubernetes/pki" The path where to save and store
48 the certificates.
49
50
51 --config="" Path to a kubeadm configuration file.
52
53
54 --control-plane-endpoint="" Specify a stable IP address or DNS
55 name for the control plane.
56
57
58 --csr-dir="" The path to output the CSRs and private keys to
59
60
61 --csr-only=false Create CSRs instead of generating certificates
62
63
64 --kubernetes-version="stable-1" Choose a specific Kubernetes ver‐
65 sion for the control plane.
66
67
68 --service-cidr="10.96.0.0/12" Use alternative range of IP address
69 for service VIPs.
70
71
72 --service-dns-domain="cluster.local" Use alternative domain for
73 services, e.g. "myorg.internal".
74
75
76
78 --azure-container-registry-config="" Path to the file containing
79 Azure container registry configuration information.
80
81
82 --log-flush-frequency=5s Maximum number of seconds between log
83 flushes
84
85
86 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
87 filesystem.
88
89
90 --version=false Print version information and quit
91
92
93
95 kubeadm-init-phase-certs(1),
96
97
98
100 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
101 com) based on the kubernetes source material, but hopefully they have
102 been automatically generated since!
103
104
105
106Manuals User KUBERNETES(1)(kubernetes)