Generate a kubeconfig file for a user credential.
Section: Certificates and kubeconfig
Generate kubeconfig for user
bash
bash
kubeadm kubeconfig user --client-name=platform-adminExplanation
Generate a kubeconfig file for a user credential.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Certificates and kubeconfig
Check certificate expiration
See kubeadm-managed certificate expiry dates.
Renew all certificates
Renew all kubeadm-managed control-plane certificates.
Generate certificate key
Generate a certificate key for control-plane join.