-
Notifications
You must be signed in to change notification settings - Fork 20
Setup Grafana for monitoring a CNSA cluster in a k8s OCP environment
Starting with CNSA 5.1.1.3 the IBM Storage Scale performance monitoring bridge for Grafana could be deployed as a Custom Resource within the IBM Storage Scale Container Native Storage Access (CNSA) cluster via the IBM Storage Scale Operator. Please check Configuring the IBM Storage Scale container native cluster custom resources documentation, for the detailed instructions how to enable the deployment of the grafanaBridge Custom Resource.
You still need to deploy a Grafana instance and add the IBM Storage Scale performance monitoring bridge for Grafana to the Grafana Datasource manually. To solve this problem, you can use the RedHat community-powered Grafana operator provided by Openshift OperatorHub. The work to be done can be broken down into the following steps:
- Installing Grafana Operator from OperatorHub
- Creating Grafana instance
- Creating Grafana Data Source
- Provisioning simple Grafana Dashboard
NOTE: All deployment scripts are stored in the sub-folder examples/openshift_deployment_scripts, and could be invoked directly during performing the steps above.
All examples used here are based on Grafana-Operator version 5 requirements.. For version 4 please use the scripts from examples/openshift_deployment_scripts/examples_for_grafana-operator_v4.
You might be interested in reading the following articles:
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