1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubeadm init phase certs apiserver - Generates the certificate for
7 serving the Kubernetes API
8
9
10
12 kubeadm init phase certs apiserver [OPTIONS]
13
14
15
17 Generates the certificate for serving the Kubernetes API, and saves
18 them 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.
37 Specify '0.0.0.0' to use the address of the default network interface.
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 kubeadm config file. WARNING: Usage of a configuration file
51 is experimental.
52
53
54 --csr-dir=""
55 The path to output the CSRs and private keys to
56
57
58 --csr-only=false
59 Create CSRs instead of generating certificates
60
61
62 --service-cidr="10.96.0.0/12"
63 Use alternative range of IP address for service VIPs.
64
65
66 --service-dns-domain="cluster.local"
67 Use alternative domain for services, e.g. "myorg.internal".
68
69
70
72 --azure-container-registry-config=""
73 Path to the file containing Azure container registry configuration
74 information.
75
76
77 --log-flush-frequency=5s
78 Maximum number of seconds between log flushes
79
80
81 --rootfs=""
82 [EXPERIMENTAL] The path to the 'real' host root filesystem.
83
84
85 --version=false
86 Print version information and quit
87
88
89
91 kubeadm-init-phase-certs(1),
92
93
94
96 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
97 com) based on the kubernetes source material, but hopefully they have
98 been automatically generated since!
99
100
101
102Eric Paris kubernetes User Manuals KUBERNETES(1)