You are viewing documentation for Kubernetes version: v1.18
Kubernetes v1.18 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Synopsis
Output a kubeconfig file for an additional user.
Alpha Disclaimer: this command is currently alpha.
kubeadm alpha kubeconfig user [flags]
Examples
# Output a kubeconfig file for an additional user named foo
kubeadm alpha kubeconfig user --client-name=foo
Options
| --apiserver-advertise-address string | |
| 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 | |
| --client-name string | |
| The name of user. It will be used as the CN if client certificates are created | |
| -h, --help | |
| help for user | |
| --org stringSlice | |
| The orgnizations of the client certificate. It will be used as the O if client certificates are created | |
| --token string | |
| The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates | |
Options inherited from parent commands
| --rootfs string | |
| [EXPERIMENTAL] The path to the 'real' host root filesystem. | |