Configuring monitoring to use Fusion Data Foundation
Fusion Data Foundation provides a monitoring stack that comprises of Prometheus and Alert Manager.
About this task
Important: Monitoring will not function if it runs out of storage space. Always ensure
that you have plenty of storage capacity for monitoring.
IBM recommends configuring a short retention interval for this service. For more information, see within the Red Hat OpenShift Container Platform product documentation.
Before you begin
- You have administrative access to OpenShift Web Console.
- Fusion Data Foundation Operator is installed and running in
the
openshift-storagenamespace. In OpenShift Web Console, go to to view installed operators. - Monitoring Operator is installed and running in the
openshift-monitoringnamespace. In OpenShift Web Console, go to to view cluster operators. - A storage class with provisioner
openshift-storage.rbd.csi.ceph.comavailable. In OpenShift Web Console, go to to view available storage classes.
Procedure
Use the OpenShift Web Console to perform the following steps to configure Fusion Data Foundation as storage for the monitoring stack.
What to do next
- Verify that the Persistent Volume Claims are bound to the pods.
- Go to .
- Set the Project dropdown to openshift-monitoring.
- Verify that five Persistent Volume Claims are visible with a state of Bound,
attached to three
alertmanager-main-*pods, and twoprometheus-k8s-*pods. For example, see Figure 1.Figure 1. Monitoring storage created and bound 
-
Verify that the new
alertmanager-main-*pods appear with a state of Running.- Go to .
- Click the new
alertmanager-main-*pods to view the pod details. - From Volumes verify that the volume has a Type,
ocs-alertmanager-claimthat matches your new Persistent Volume Claims. For example,ocs-alertmanager-claim-alertmanager-main-0. For example, see Figure 2.Figure 2. Persistent Volume Claims attached to alertmanager-main-*pod
- Verify that the new
prometheus-k8s-*pods appear with a state of Running.- Click the new
prometheus-k8s-*pods to view the pod details. - From Volumes verify that the volume has a Type,
ocs-prometheus-claimthat matches your new Persistent Volume Claims. For example,ocs-prometheus-claim-prometheus-k8s-0. For example, see Figure 3.Figure 3. Persistent Volume Claims attached to prometheus-k8s-*pod
- Click the new