Post

Grafana dashboard loading

Using Helm to render and inspect Grafana dashboard sidecar configuration templates for Kubernetes deployments.

Use helm template with the --show-only flag to render specific templates from the Grafana Helm chart. This is useful for inspecting the configmap dashboard provider and deployment manifests when sidecar dashboard loading is enabled across all namespaces.

1
2
3
4
5
6
7
8
helm repo add grafana https://grafana.github.io/helm-charts

helm template \
--show-only templates/configmap-dashboard-provider.yaml  \
--show-only templates/deployment.yaml  \
--set sidecar.dashboards.enabled=true  \
--set sidecar.dashboards.searchNamespace=ALL  \
grafana/grafana
This post is licensed under CC BY 4.0 by the author.