- Execute on any server configured with kubeconfig
kubectl get pods -n cattle-systemObtain the Rancher Pod name
Execute the following command to reset Admin password
kubectl -n cattle-system exec <Rancher Pod name> -- reset-password- Wait for the log output to display the Rancher Admin password
W0806 12:09:52.684129 7688 client_config.go:614] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
New password for default admin user (user-t9vp6):
77zmztAHp9vzANGtbkMB