Skip to content
中文
  1. Execute on any server configured with kubeconfig
kubectl get pods -n cattle-system
  1. Obtain the Rancher Pod name

  2. Execute the following command to reset Admin password

kubectl -n cattle-system  exec <Rancher Pod name> -- reset-password
  1. 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

Digital Ecosystem Infrastructure.