Skip to content

Commit df24286

Browse files
committed
Fix for the issue #12
This commit includes the following documentation improvements: -use the official name of the spectrum scale container native product -add documentation about imagePullSecrets settings -add documentation about the OpenTSDB used version settings
1 parent 721090e commit df24286

10 files changed

+31
-17
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Grafana Bridge is a standalone Python application. It translates the IBM Spectru
1818

1919
* [Setup the grafana bridge on a classic IBM Spectrum Scale cluster](/docs/CLASSIC_SETUP.md)
2020
* [Run the grafana bridge in a docker container](/docs/RUNNING_AS_DOCKER_CONTAINER.md)
21-
* [Deploying the grafana bridge for an IBM Spectrum Scale cloud native project in a k8s/OCP environment](/docs/grafana_bridge_deployment_ocp.md)
22-
* [Deploying a Grafana instance for the IBM Spectrum Scale cloud native project in a k8s/OCP environment](/docs/grafana_deployment_ocp.md)
21+
* [Deploying the grafana bridge for an IBM CNSA project in a k8s/OCP environment](/docs/grafana_bridge_deployment_ocp.md)
22+
* [Deploying a Grafana instance for the IBM CNSA project in a k8s/OCP environment](/docs/grafana_deployment_ocp.md)
2323
* [Connecting the grafana-bridge datasource to the Grafana instance in a k8s/OCP environment](/docs/connect_bridge_to_grafana_ocp.md)
24-
* [Explore the Grafana WEB interface for the CNSS project in a k8s/OCP environment](/docs/explore_grafana_ocp.md)
24+
* [Explore the Grafana WEB interface for the IBM CNSA project in a k8s/OCP environment](/docs/explore_grafana_ocp.md)
2525

2626

2727

docs/SUPPORT_MATRIX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The following matrix gives a quick overview of the supported software for the IB
44
- Python 3.6
55
- CherryPy 18.0.0
66
- IBM Spectrum Scale system must run 5.0.5 FP2 and above or
7-
- IBM Spectrum Scale cloud native (CNSS) devices having minReleaseLevel 5.1.0.1
7+
- IBM Spectrum Scale Container Native Storage Access(CNSA) devices having minReleaseLevel 5.1.0.1
88
- Grafana 7.1.0 and above
99

1010
# Version 6 (11/01/2020)

docs/connect_bridge_to_grafana_ocp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Connecting the grafana-bridge datasource to the Grafana for CNSS instance
1+
# Connecting the grafana-bridge datasource to the Grafana for CNSA instance
22

33

44
![](/docs/bridge_connect_grafana_ocp.png)
@@ -42,7 +42,7 @@ eyJhbGciOiJSUzI1NiIsImtpZCI6IlFIV0dLT1ZITlpqQ1lXc05TNUNkVjZ2MDFJVUp2SjFnR3lkR2Iz
4242

4343
Substituite ${BEARER_TOKEN} with the output of the command above in the grafana-bridge-datasource.yaml
4444
Also 'TLS cert ${TLS_CERT}', 'TLS key ${TLS_KEY}' need to be replaced with TLS key and certificate, we have generated for the grafana-bridge.
45-
Replace ${namespace-name of the CNSS project} in the grafana-bridge service URL with the namespace name of your CNSS cluster project.
45+
Replace ${namespace-name of the CNSA project} in the grafana-bridge service URL with the namespace name of your CNSA cluster project.
4646

4747
Finally modify the 'namespace: <grafana-instance namespace>' field to point to your Grafana instance project name.
4848

docs/explore_grafana_ocp.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Explore Grafana WEB interface for CNSS project in a k8s/OCP environment
1+
# Explore Grafana WEB interface for CNSA project in a k8s/OCP environment
22

33

44

@@ -39,4 +39,9 @@ Click on Configuration > Data Sources in the side menu and you’ll be taken to
3939
![](/docs/grafana_ui_datasource_view.png)
4040

4141

42-
Now, an editable Grafana interface appears and you can view your custom Grafana dashboards or create your own.
42+
In the grafana-bridge datasource settings make sure the OpenTSDB version 2.3 is selected. Finally click on 'Save & Test' button.
43+
44+
![](/docs/grafana_ui_datasource_editor.png)
45+
46+
47+
Now you can import some predefined Grafana dashboards or create your own.

docs/grafana_bridge_deployment_ocp.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
### Dependencies
66
This instructions could be used for:
7-
- IBM Spectrum Scale cloud native (CNSS) devices having minimum release level 5.1.0.1 and above
7+
- IBM Spectrum Scale Container Native Storage Access(CNSA) devices having minimum release level 5.1.0.1 and above
88

99

1010
1. Follow the [instructions](/docs/BUILDING_DOCKER_IMAGE.md) and create the IBM Spectrum Scale bridge for Grafana image
1111

1212

13-
2. Make sure you have deployed the IBM Spectrum Scale cloud native (CNSS) cluster including the ibm-spectrum-scale-pmcollector pods.
14-
For more information about how to deploy a CNSS cluster please refer to the [IBM Spectrum Scale Knowledge Center](https://www.ibm.com/support/knowledgecenter/STXKQY_CNS_SHR/com.ibm.spectrum.scale.cns.v5r101.doc/introduction.html)
13+
2. Make sure you have deployed the IBM Spectrum Scale Container Native Storage Access(CNSA) cluster including the ibm-spectrum-scale-pmcollector pods.
14+
For more information about how to deploy a CNSA cluster please refer to the [IBM Spectrum Scale Knowledge Center](https://www.ibm.com/support/knowledgecenter/STXKQY_CNS_SHR/com.ibm.spectrum.scale.cns.v5r101.doc/introduction.html)
1515

1616
```
1717
[root@mycluster-inf ~]# oc get po -o wide
@@ -40,8 +40,11 @@ ibm-spectrum-scale-pmcollector ClusterIP None <none> 9085
4040

4141
3. Copy the content of the example_deployment_scripts directory to your favourite directory on the master node.
4242
Additionally perform the following modifications in the files before you start with the deployment:
43-
- Open the example_deployment_scripts/bridge_deployment/bridge-service.yaml file with an editor and set the namespace name of your CNSS cluster project.
43+
- Open the example_deployment_scripts/bridge_deployment/bridge-service.yaml file with an editor and set the namespace name of your CNSA cluster project.
4444
- Edit the example_deployment_scripts/bridge_deployment/bridge-deployment.yaml and modify the image: field to point to the bridge image location, you created before.
45+
- In case you are pulling the image from a private Docker registry or repository you need to create a Secret based on existing Docker credentials and
46+
put the secret name under imagePullSecrets settings in the example_deployment_scripts/bridge_deployment/bridge-deployment.yaml
47+
For more Information please refer to the Kubernetes documentation about [Pull an Image from a Private Registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
4548

4649

4750
4. Create the TLS certificate and the private key

docs/grafana_deployment_ocp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424

25-
## Deploying Grafana instance for the IBM Spectrum Scale cloud native (CNSS) project in a k8s/OCP environment
25+
## Deploying Grafana instance for the IBM Spectrum Scale Container Native Storage Access(CNSA) project in a k8s/OCP environment
2626

2727

2828
1. create a new project, for example: my-grafana

docs/grafana_ui_datasource_editor.png

18.7 KB
Loading

example_deployment_scripts/bridge_deployment/bridge-deployment.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,14 @@ spec:
7878
- name: init-scale-perf-query-service
7979
image: busybox:1.28
8080
command: ['sh', '-c', "until nslookup ibm-spectrum-scale-perf-query.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local; do echo waiting for ibm-spectrum-scale-perf-query service; sleep 2; done"]
81-
imagePullSecrets:
82-
- name: spectrumscale-registrykey
81+
#######################################################################################################################
82+
#
83+
# in case you are pulling the image from a private Docker registry or repository
84+
# you need to create a Secret based on existing Docker credentials and put the secret name under imagePullSecrets settings
85+
#
86+
#######################################################################################################################
87+
#imagePullSecrets:
88+
# - name: spectrumscale-registrykey
8389
volumes:
8490
- name: logfiles
8591
emptyDir: {}

example_deployment_scripts/bridge_deployment/bridge-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: v1
33
kind: Service
44
metadata:
55
name: grafana-bridge
6-
namespace: <namespace-name of the CNSS project>
6+
namespace: <namespace-name of the CNSA project>
77
labels:
88
app: grafana-bridge
99
spec:

example_deployment_scripts/grafana_deployment/grafana-bridge-datasource.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ spec:
1919
tlsClientCert: 'TLS cert ${TLS_CERT}'
2020
tlsClientKey: 'TLS key ${TLS_KEY}'
2121
httpHeaderValue1: 'Bearer ${BEARER_TOKEN}'
22-
url: 'https://grafana-bridge.${namespace-name of the CNSS project}.svc.cluster.local:8443'
22+
url: 'https://grafana-bridge.${namespace-name of the CNSA project}.svc.cluster.local:8443'
2323
version: 1
2424
name: grafana-bridge-datasource.yaml

0 commit comments

Comments
 (0)