1KUBERNETES(1)                      Jan 2015                      KUBERNETES(1)
2
3
4

NAME

6       kubeadm init phase certs apiserver - Generate the certificate for
7       serving the Kubernetes API
8
9
10

SYNOPSIS

12       kubeadm init phase certs apiserver [OPTIONS]
13
14
15

DESCRIPTION

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,
22       kubernetes.default.svc, kubernetes.default.svc.cluster.local,
23       10.96.0.1, 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

OPTIONS

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       --control-plane-endpoint=""
54           Specify a stable IP address or DNS name for the control plane.
55
56
57       --csr-dir=""
58           The path to output the CSRs and private keys to
59
60
61       --csr-only=false
62           Create CSRs instead of generating certificates
63
64
65       --kubernetes-version="stable-1"
66           Choose a specific Kubernetes version for the control plane.
67
68
69       --service-cidr="10.96.0.0/12"
70           Use alternative range of IP address for service VIPs.
71
72
73       --service-dns-domain="cluster.local"
74           Use alternative domain for services, e.g. "myorg.internal".
75
76
77

OPTIONS INHERITED FROM PARENT COMMANDS

79       --azure-container-registry-config=""
80           Path to the file containing Azure container registry configuration
81       information.
82
83
84       --log-flush-frequency=5s
85           Maximum number of seconds between log flushes
86
87
88       --rootfs=""
89           [EXPERIMENTAL] The path to the 'real' host root filesystem.
90
91
92       --version=false
93           Print version information and quit
94
95
96

SEE ALSO

98       kubeadm-init-phase-certs(1),
99
100
101

HISTORY

103       January 2015, Originally compiled by Eric Paris (eparis at redhat dot
104       com) based on the kubernetes source material, but hopefully they have
105       been automatically generated since!
106
107
108
109Eric Paris                  kubernetes User Manuals              KUBERNETES(1)
Impressum