Image Overview: grafana-operator

Overview: grafana-operator Chainguard Image

A Wolfi-powered operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/grafana-operator:latest

Usage

Use kubectl to create a namespace to be used by Grafana Operator:

kubectl create ns grafana-operator

Deploy Grafana Operator within the namespace with the Helm chart:

  helm upgrade \
    -n grafana-operator \
    -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator \
    --version v5.8.1 \
    --set image.repository=cgr.dev/chainguard/grafana-operator \
    --set image.tag=latest

Note that the upstream chart is not tagged with latest so we need to set the version explicitly. Always use the latest supported version of the chart.

We can verify that the operator is available by checking for the service:

kubectl get svc -n grafana-operator

You’ve now successfully deployed Grafana Operator! For more documentation, checkout the official docs here.

Last updated: 2024-04-19 00:39