grafana

by Helm

Helm chartv0.2.6

The leading tool for querying and visualizing time series and metrics.

About this chart

Grafana Helm Chart

  • Installs the web dashboarding system Grafana

TL;DR;

$ helm install stable/grafana

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release stable/grafana

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

ParameterDescriptionDefault
server.imageContainer image to rungrafana/grafana:latest
server.adminUserAdmin user usernameadmin
server.adminPasswordAdmin user passwordadmin
server.persistentVolume.enabledCreate a volume to store datatrue
server.persistentVolume.sizeSize of persistent volume claim1Gi RW
server.persistentVolume.storageClassType of persistent volume claimnil (uses alpha storage class annotation)
server.persistentVolume.accessModeReadWriteOnce or ReadOnly[ReadWriteOnce]
server.resourcesServer resource requests and limitsrequests: {cpu: 100m, memory: 100Mi}
server.serviceTypeClusterIP, NodePort, or LoadBalancerClusterIP
server.setDatasource.enabledCreates grafana datasource with jobfalse

Deploy grafana with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has grafana on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgrafana is pinned at v0.2.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply