kubeadm-init-phase-kubeconfig-kubelet man page

kubeadm init phase kubeconfig kubelet ā€” Generate a kubeconfig file for the kubelet to use only for cluster bootstrapping purposes

Synopsis

kubeadm init phase kubeconfig kubelet [Options]

Description

Generate the kubeconfig file for the kubelet to use and save it to kubelet.conf file.

Please note that this should only be used for cluster bootstrapping purposes. After your control plane is up, you should request all kubelet credentials from the CSR API.

Options

--apiserver-advertise-address=""

The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.

--apiserver-bind-port=6443

Port for the API Server to bind to.

--cert-dir="/etc/kubernetes/pki"

The path where to save and store the certificates.

--config=""

Path to a kubeadm configuration file.

--kubeconfig-dir="/etc/kubernetes"

The path where to save the kubeconfig file.

--node-name=""

Specify the node name.

Options Inherited from Parent Commands

--azure-container-registry-config=""

Path to the file containing Azure container registry configuration information.

--log-flush-frequency=5s

Maximum number of seconds between log flushes

--rootfs=""

[EXPERIMENTAL] The path to the 'real' host root filesystem.

--version=false

Print version information and quit

See Also

kubeadm-init-phase-kubeconfig(1),

History

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!

Referenced By

kubeadm-init-phase-kubeconfig(1).

kubernetes User Manuals Eric Paris Jan 2015