File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
examples/openshift_deployment_scripts/cnsa_workload_monitoring Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
- # Example setting up Openshift metrics collection for ibm-spectrum-scale project
1
+ # Example of setting up Openshift metrics collection for ibm-spectrum-scale project
2
2
3
3
4
4
5
5
Using the scripts in this folder you can expose CNSA(gpfs) internal metrics to the Openshift Monitoring Stack
6
6
7
7
Enable monitoring for user-defined projects
8
8
``` shell
9
- oc apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/refs/heads/master/examples/openshift_deployment_scripts/cnsa_workload_monitoring/cluster_monitoring_config .yml
9
+ oc apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/refs/heads/master/examples/openshift_deployment_scripts/cnsa_workload_monitoring/cluster-monitoring-config .yml
10
10
```
11
11
12
12
To allow ingress and egress communication from the openshift-user-workload-monitoring namespace to the ibm-spectrum-scale namespace within your Red Hat OpenShift cluster, label it with the label scale.spectrum.ibm.com/networkpolicy=allow
@@ -20,7 +20,18 @@ oc project ibm-spectrum-scale
20
20
```
21
21
22
22
``` shell
23
- oc apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/refs/heads/master/examples/openshift_deployment_scripts/cnsa_workload_monitoring/grafana_bridge_service_monitor.yaml
23
+ oc apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/refs/heads/master/examples/openshift_deployment_scripts/cnsa_workload_monitoring/grafana-bridge-service-monitor.yaml
24
+ ```
25
+
26
+
27
+
28
+ ## Accessing metrics with third-party applications from outside of the Openshift cluster
29
+
30
+
31
+
32
+ Create the OpenShift Container Platform API route to access Thanos Querier externally by running the following command
33
+ ``` shell
34
+ https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/refs/heads/master/examples/openshift_deployment_scripts/cnsa_workload_monitoring/route-external-access-thanos-querier.yaml
24
35
```
25
36
26
37
You can’t perform that action at this time.
0 commit comments