Creating Grafana instance from Custom Resource managed by the RedHat community powered Grafana operator - IBM/ibm-spectrum-scale-bridge-for-grafana GitHub Wiki
Make sure you have installed the RedHat community powered Grafana operator in your environment. Otherwise follow this instructions before you proceed with the next step.
Create the "grafana-for-cnsa" instance from the Custom Resource type Grafana available by the RedHat community powered Grafana operator supported Custom Resources:
Commands:
NAMESPACE=grafana-for-cnsa
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/grafana-instance-for-cnsa-v5.yaml --namespace=$NAMESPACE
Example output:
[[email protected] ~]# oc get Grafana
NAME STAGE STAGE STATUS AGE
grafana-for-cnsa complete success 21s
For more info about the configuration properties accepted by the Grafana Custom Resource please read the article deploying-grafana from the community documentation.