.nh .TH KUBERNETES(1) kubernetes User Manuals Eric Paris Jan 2015 .SH NAME .PP kubeadm init phase kubeconfig admin - Generate a kubeconfig file for the admin to use and for kubeadm itself .SH SYNOPSIS .PP \fBkubeadm init phase kubeconfig admin\fP [OPTIONS] .SH DESCRIPTION .PP Generate the kubeconfig file for the admin and for kubeadm itself, and save it to admin.conf file. .SH OPTIONS .PP \fB--apiserver-advertise-address\fP="" The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. .PP \fB--apiserver-bind-port\fP=6443 Port for the API Server to bind to. .PP \fB--cert-dir\fP="/etc/kubernetes/pki" The path where to save and store the certificates. .PP \fB--config\fP="" Path to a kubeadm configuration file. .PP \fB--control-plane-endpoint\fP="" Specify a stable IP address or DNS name for the control plane. .PP \fB--dry-run\fP=false Don't apply any changes; just output what would be done. .PP \fB--kubeconfig-dir\fP="/etc/kubernetes" The path where to save the kubeconfig file. .PP \fB--kubernetes-version\fP="stable-1" Choose a specific Kubernetes version for the control plane. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--rootfs\fP="" [EXPERIMENTAL] The path to the 'real' host root filesystem. .PP \fB--version\fP=false --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version .SH SEE ALSO .PP \fBkubeadm-init-phase-kubeconfig(1)\fP, .SH HISTORY .PP January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since!