Generates a kubeconfig file for the controller manager to use
Generates the kubeconfig file for the controller manager to use and saves it to controller-manager.conf file
kubeadm init phase kubeconfig controller-manager [flags]
|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 int32 Default: 6443|
|Port for the API Server to bind to.|
|--cert-dir string Default: "/etc/kubernetes/pki"|
|The path where to save and store the certificates.|
|Path to a kubeadm configuration file.|
|help for controller-manager|
|--kubeconfig-dir string Default: "/etc/kubernetes"|
|The path where to save the kubeconfig file.|
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.