Observability
- 
Verify the Cert-Manager is deployed and configured on the OpenShift Cluster. Please review the RedHat documentation for the procedure.
 - 
Verify the user workload monitoring is enabled and configured on the OpenShift Cluster. Please review RedHat documentation for the procedure to configure user workload monitoring on the OpenShift Cluster.
 - 
Enable Observability module in the CSM
Use this command to create the ContainerStorageModule custom resource with Observability enabled.
oc create -f csm-vxflexos.yamlExample:
cat <<EOF> csm-vxflexos.yaml apiVersion: storage.dell.com/v1 kind: ContainerStorageModule metadata: name: vxflexos namespace: vxflexos spec: driver: csiDriverType: "powerflex" configVersion: v2.15.1 module: - name: observability enabled: true components: - name: otel-collector enabled: true - name: metrics-powerflex enabled: true EOFVerify the Observability Pods are created.
 
oc get pod -n vxflexos
NAME                                         READY   STATUS    RESTARTS   AGE
karavi-metrics-powerflex-69855dbdd5-5mshq     1/1     Running   0          2m54s
otel-collector-b496d8c4d-gp6zz               2/2     Running   0          2m55s 
Verify the Observability Services.
oc get svc -n vxflexos
NAME                           TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)              AGE
karavi-metrics-powerflex        ClusterIP   172.30.169.86    <none>        2222/TCP             3m29s
otel-collector                 ClusterIP   172.30.127.237   <none>        55680/TCP,8443/TCP   3m29s 
- 
Create Service Monitor to scrape the Observability module by the OpenShift Observability.
Use this command to create the ServiceMonitor.
oc apply -f smon-otel-collector.yamlExample:
cat <<EOF> smon-otel-collector.yaml apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: otel-collector namespace: vxflexos spec: endpoints: - path: /metrics port: exporter-https scheme: https tlsConfig: insecureSkipVerify: true selector: matchLabels: app.kubernetes.io/instance: karavi-observability app.kubernetes.io/name: otel-collector EOF 
Verify the ServiceMonitor is created.
oc get smon -n vxflexos
NAME             AGE
otel-collector   44h 
   Verify the PowerFlex metrics are visible in the OpenShift Console. On the OpenShift Console, navigate to Observer and then Metrics, search for PowerFlex metrics.