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 --dry-run=false Don't apply any changes; just output what would be
46 done.
47
48
49 --kubeconfig-dir="/etc/kubernetes" The path where to save the
50 kubeconfig file.
51
52
53 --kubernetes-version="stable-1" Choose a specific Kubernetes ver‐
54 sion for the control plane.
55
56
57
59 --azure-container-registry-config="" Path to the file containing
60 Azure container registry configuration information.
61
62
63 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
64 filesystem.
65
66
67 --version=false Print version information and quit
68
69
70
72 kubeadm-init-phase-kubeconfig(1),
73
74
75
77 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
78 com) based on the kubernetes source material, but hopefully they have
79 been automatically generated since!
80
81
82
83Manuals User KUBERNETES(1)(kubernetes)