File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
example_deployment_scripts/grafana_datasource_deployment Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1+ # Example deployment of a GrafanaDataSource instance in a k8s/OCP environment
2+
3+
4+ Using the scripts in this folder you can deploy a GrafanaDataSource instance for the IBM Spectrum Scale Performance Monitoring Bridge for Grafana running in container
5+
6+ ```
7+ oc adm policy add-cluster-role-to-user ibm-spectrum-scale-operator -z grafana-serviceaccount
8+ oc apply -f grafana-bridge-datasource.yaml
9+ oc describe GrafanaDataSource bridge-grafanadatasource
10+
11+ ```
12+
13+ For complete deployment examples please check the project [ Wiki] ( https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki )
Original file line number Diff line number Diff line change 22kind : GrafanaDataSource
33metadata :
44 name : bridge-grafanadatasource
5- namespace : < grafana-instance namespace>
5+ namespace : grafana-for-cnsa
66spec :
77 datasources :
88 - access : proxy
@@ -13,12 +13,17 @@ spec:
1313 timeInterval : 5s
1414 tlsSkipVerify : true
1515 tlsAuth : true
16+ tsdbVersion : ' 2.3'
1617 name : grafana-bridge
1718 type : opentsdb
1819 secureJsonData :
1920 tlsClientCert : ' TLS cert ${TLS_CERT}'
2021 tlsClientKey : ' TLS key ${TLS_KEY}'
21- httpHeaderValue1 : ' Bearer ${BEARER_TOKEN}'
22- url : ' https://grafana-bridge.${namespace-name of the CNSA project}.svc.cluster.local:8443'
22+ # ##########################################################################################
23+ #
24+ # url: 'https://$(service name of the grafana-bridge DeploymentSet).${namespace-name of the CNSA project}.svc.cluster.local:8443'
25+ #
26+ # ##########################################################################################
27+ url : ' https://ibm-spectrum-scale-grafana-bridge.ibm-spectrum-scale.svc.cluster.local:8443'
2328 version : 1
2429 name : grafana-bridge-datasource.yaml
You can’t perform that action at this time.
0 commit comments