Reset the Administrator Password
You can reset the administrator password if you have access to the K8s Cluster through kubectl command-line utility.
To reset the administrator password:
-
Enter the Ops Center Pod's EXEC mode.
-
Use the following command to reset the administrator password.
kubectl exec -it <pod_name> -n <pod_namespace> /usr/local/bin/reset-admin
-
Enter the new password when prompted.
NOTES:
-
kubectl exec -it - Executes a command inside a container. -it passes the standard input stream to the container or TTY.
-
<pod_name> -n - Specifies the name of the Pod. -n specifies the namespace scope for this CLI request.
-
<pod_namespace> - Specifies the namespace of the Pod.
-
/usr/local/bin/reset-admin - Resets the administrator password.