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 2
2
kind : GrafanaDataSource
3
3
metadata :
4
4
name : bridge-grafanadatasource
5
- namespace : < grafana-instance namespace>
5
+ namespace : grafana-for-cnsa
6
6
spec :
7
7
datasources :
8
8
- access : proxy
@@ -13,12 +13,17 @@ spec:
13
13
timeInterval : 5s
14
14
tlsSkipVerify : true
15
15
tlsAuth : true
16
+ tsdbVersion : ' 2.3'
16
17
name : grafana-bridge
17
18
type : opentsdb
18
19
secureJsonData :
19
20
tlsClientCert : ' TLS cert ${TLS_CERT}'
20
21
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'
23
28
version : 1
24
29
name : grafana-bridge-datasource.yaml
You can’t perform that action at this time.
0 commit comments