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
22
33
44
55Using the scripts in this folder you can expose CNSA(gpfs) internal metrics to the Openshift Monitoring Stack
66
77Enable monitoring for user-defined projects
88``` 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
1010```
1111
1212To 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
2020```
2121
2222``` 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
2435```
2536
2637
You can’t perform that action at this time.
0 commit comments