Generates a kubeconfig file for the kubelet to use. Please note that this should be used only for bootstrapping purposes.
Generates the kubeconfig file for the kubelet to use and saves it to /etc/kubernetes/kubelet.conf file.
Please note that this should only be used for bootstrapping purposes. After your control plane is up, you should request all kubelet credentials from the CSR API.
Alpha Disclaimer: this command is currently alpha.
kubeadm alpha phase kubeconfig kubelet [flags]
|The IP address the API server is accessible on|
|--apiserver-bind-port int32 Default: 6443|
|The port the API server is accessible on|
|--cert-dir string Default: "/etc/kubernetes/pki"|
|The path where certificates are stored|
|Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)|
|help for kubelet|
|--kubeconfig-dir string Default: "/etc/kubernetes"|
|The port where to save the kubeconfig file|
|The node name that should be used for the kubelet client certificate|