1KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7
9 kubeadm init phase kubeconfig admin - Generate a kubeconfig file for
10 the admin to use and for kubeadm itself
11
12
13
15 kubeadm init phase kubeconfig admin [OPTIONS]
16
17
18
20 Generate the kubeconfig file for the admin and for kubeadm itself, and
21 save it to admin.conf file.
22
23
24
26 --apiserver-advertise-address="" The IP address the API Server
27 will advertise it's listening on. If not set the default network inter‐
28 face will be used.
29
30
31 --apiserver-bind-port=6443 Port for the API Server to bind to.
32
33
34 --cert-dir="/etc/kubernetes/pki" The path where to save and store
35 the certificates.
36
37
38 --config="" Path to a kubeadm configuration file.
39
40
41 --control-plane-endpoint="" Specify a stable IP address or DNS
42 name for the control plane.
43
44
45 --kubeconfig-dir="/etc/kubernetes" The path where to save the
46 kubeconfig file.
47
48
49 --kubernetes-version="stable-1" Choose a specific Kubernetes ver‐
50 sion for the control plane.
51
52
53
55 --azure-container-registry-config="" Path to the file containing
56 Azure container registry configuration information.
57
58
59 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
60 filesystem.
61
62
63 --version=false Print version information and quit
64
65
66
68 kubeadm-init-phase-kubeconfig(1),
69
70
71
73 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
74 com) based on the kubernetes source material, but hopefully they have
75 been automatically generated since!
76
77
78
79Manuals User KUBERNETES(1)(kubernetes)