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