03/01/2023, 1:46 AM
in my flurry of frustration to get an external rancher manager provisioning rke2 nodes on harvester, combined with a brief power outage last night... I seem to have forgotten my harvester password. I still have ssh access to the nodes. I am trying to reset the password. Can someone tell me what user this resets the password for? hv01:/home/rancher # kubectl -n cattle-system exec $(kubectl --kubeconfig $KUBECONFIG -n cattle-system get pods -l app=rancher --no-headers | head -1 | awk '{ print $1 }') -c rancher -- reset-password W0301 01:34:37.635364 64 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.New password for default admin user (user-wlmcg): j7PZznhNATc8LzzFPSf6 admin used to be the user, is user-wlmcg the user I should be using now? Is there a better way to reset the 'admin' account?
belay that... just needed to refresh the browser. For others in case they find this in a search. The admin account is admin. And this procedure works.


03/01/2023, 8:20 AM