-
Notifications
You must be signed in to change notification settings - Fork 22
Deploying Grafana Operator from OperatorHub using the OpenShift web console
Helene Wassmann edited this page Aug 3, 2021
·
7 revisions
- create a new project, for example: my-grafana
[root@mycluster-inf ~]# oc new-project my-grafana
Now using project "my-grafana" on server "https://api.mycluster.os.fyre.ibm.com:6443".
You can add applications to this project with the 'new-app' command. For example, try:
oc new-app django-psql-example
to build a new example application in Python. Or use kubectl to deploy a simple Kubernetes application:
kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node
-
Update the 'namespace:' field in the example_deployment_scripts/grafana_deployment/grafana-instance-for-cnss.yaml script with the new created project name.
-
Navigate to OperatorHub and select the community-powered Grafana Operator. Press Continue to accept the disclaimer, press Install, and press Subscribe to accept the default configuration values and deploy to the my-grafana namespace.
Within some time, the Grafana operator will be made available in the my-grafana namespace.
You can also verify the grafana operator successfully installed in the 'my-grafana' namespace using command line
[root@mycluster-inf ~]# oc get po -n my-grafana
NAME READY STATUS RESTARTS AGE
grafana-operator-857c86c65d-62t7m 1/1 Running 0 78s
- Change to the directory example_deployment_scripts/grafana_deployment/ and apply the grafana-instance-for-cnss.yaml file
[root@mycluster-inf ~]# cd /opt/example_deployment_scripts/grafana_deployment
[root@mycluster-inf grafana_deployment]# oc create -f grafana-instance-for-cnss.yaml
grafana.integreatly.org/grafana-for-cnss created
[root@mycluster-inf grafana_deployment]# oc get Grafana
NAME AGE
grafana-for-cnss 42s
Visit the IBM Storage Scale Knowledge Center for getting more info about the latest product updates
-
- Setup classic Grafana
- Make usage of Grafana Provisioning feature
-
- Installing RedHat community-powered Grafana operator from OperatorHub
- Creating Grafana instance using the RedHat community-powered Grafana-operator
- Creating Grafana Datasorce instance from Custom Resource managed by the RedHat community powered Grafana operator
- Importing the predefined dashboard from the example dashboards collection
- Exploring Grafana WEB interface for CNSA project in a k8s OCP environment
- How to setup Grafana instance to monitor multiple IBM Storage Scale clusters running in a cloud or mixed environment
- API key authentication
- Configurable bridge settings
- CherryPy builtin HTTP server settings
- How to setup HTTPS(SSL) connection
- Start and stop grafana-bridge with systemd
- Refresh IBM Storage Scale cluster configuration data cached by grafana bridge
- Accelerate the PrometheusExporter data retrieval time
- Optimize the performance of PrometheusExporter by using scrape_job params settings
- Grafana Dashboard Panel shows no metric values for a particular entity
- Missing Grafana-Operator on an OpenShift cluster
- Missing CherryPy packages
- What to do if your system is on Python < 3.8
- Grafana-bridge fails to start with Python3.8
- Grafana-bridge container time is different from a host time
- Verify that the grafana-bridge returns data as expected