-
Notifications
You must be signed in to change notification settings - Fork 21
Installing RedHat community powered Grafana operator from OperatorHub
If you are running a Kubernetes cluster without OpenShift platform, please continue with the Deploying Grafana Operator from OperatorHub on k8s cluster instructions
-
Check the Grafana operator available on the OpenShift cluster
Command:
oc get packagemanifests -n openshift-marketplace |grep grafana
Example output:
[root@api.helene.cp.fyre.ibm.com ~]# oc get packagemanifests -n openshift-marketplace |grep grafana grafana-operator Community Operators 34d
Note: if the grafana-operator resource is not listed, follow this troubleshooting guide to find the possible issue.
-
Create the OperatorGroup and the Subscription object in the namespace you are going to deploy a Grafana instance for a CNSA cluster
Commands:
NAMESPACE=grafana-for-cnsa
echo $NAMESPACE
oc new-project $NAMESPACE
oc apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/master/examples/openshift_deployment_scripts/examples_for_grafana-operator_v5/grafana_deployment/operator-group-v5.yaml --namespace=$NAMESPACE
oc apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-bridge-for-grafana/master/examples/openshift_deployment_scripts/examples_for_grafana-operator_v5/grafana_deployment/subscription-grafana-operator-v5.yaml --namespace=$NAMESPACE
-
Check the Grafana operator have been added to the Operator Subscriptions
Command:
oc get subs -n $NAMESPACE
Example output:
[root@api.helene.cp.fyre.ibm.com ~]# oc get subs -n $NAMESPACE NAME PACKAGE SOURCE CHANNEL grafana-operator-subscription grafana-operator community-operators v5
Alternatively you can install the Grafana operator using the OpenShift Container Platform web console.
For more information check the OpenShift documentation about Adding Operators to a cluster
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
- 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