To view cluster metrics in the OpenShift web console:
- Log in to the CSAH node.
- Obtain the cluster metrics route by running the following command:
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 browser and enter the URL. In our sample output, the URL is: prometheus-k8s-openshift-monitoring.apps.ocp.example.com
- Log in as kubeadmin or an AD user.
- From the Execute drop-down menu, select one of the available queries and click Execute.
A graph is displayed for the selected query.