To view cluster metrics in the OpenShift web console:
- Log in to the CSAH node
- Obtain the cluster metrics route:
[core@csah auth]$ oc get routes --all-namespaces | grep -i prometheus
openshift-monitoring prometheus-k8s prometheus-k8s-openshift-monitoring.apps.ocp.example.com prometheus-k8s web reencrypt/Redirect None
- Open a web browser and paste in the URL (in the preceding output example, it is prometheus-k8s-openshift-monitoring.apps.ocp.example.com).
- Log in as kubeadmin or as a Microsoft Active Directory user.
- From the Execute menu, select one of the available queries and click Execute.
A graph for the selected query is displayed.