Skip to content

Commit 12c6b42

Browse files
authored
Merge pull request #298 from Helene/readme_thanos_querier
Update README for deploying thanos querier route
2 parents a5f1052 + c60f4d5 commit 12c6b42

File tree

1 file changed

+14
-3
lines changed
  • examples/openshift_deployment_scripts/cnsa_workload_monitoring

1 file changed

+14
-3
lines changed

examples/openshift_deployment_scripts/cnsa_workload_monitoring/README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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

55
Using the scripts in this folder you can expose CNSA(gpfs) internal metrics to the Openshift Monitoring Stack
66

77
Enable 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

1212
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
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

0 commit comments

Comments
 (0)