Output a kubeconfig file for an additional user.
Alpha Disclaimer: this command is currently alpha.
kubeadm alpha kubeconfig user [flags]
# Output a kubeconfig file for an additional user named foo kubeadm alpha kubeconfig user --client-name=foo
|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|
|The name of user. It will be used as the CN if client certificates are created|
|help for user|
|The orgnizations of the client certificate. It will be used as the O if client certificates are created|
|The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates|
|[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.