mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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
| Parameter | Description | Default |
|---|---|---|
server.image |
Container image to run | grafana/grafana:4.6.3 |
server.adminUser |
Admin user username | admin |
server.adminPassword |
Admin user password | Randomly generated |
server.antiAffinity.enabled |
Enable anti affinity | false |
server.antiAffinity.type |
Hard or soft anti affinity | hard |
server.persistentVolume.enabled |
Create a volume to store data | true |
server.persistentVolume.size |
Size of persistent volume claim | 1Gi RW |
server.persistentVolume.storageClass |
Type of persistent volume claim | nil (uses alpha storage class annotation) |
server.persistentVolume.accessMode |
ReadWriteOnce or ReadOnly | [ReadWriteOnce] |
server.persistentVolume.existingClaim |
Existing persistent volume claim | null |
server.persistentVolume.subPath |
Subdirectory of pvc to mount | null |
server.readinessProbe |
Server readiness probe | httpGet: {path: /api/health, port: 3000}, initialDelaySeconds: 30, timeoutSeconds: 30 |
server.replicaCount |
Desired number of grafana pods | 1 |
server.resources |
Server resource requests and limits | requests: {cpu: 100m, memory: 100Mi} |
server.tolerations |
node taints to tolerate (requires Kubernetes >=1.6) | null |
server.service.annotations |
Service annotations | null |
server.service.httpPort |
Service port | 80 |
server.service.loadBalancerIP |
IP to assign to load balancer | null |
server.service.loadBalancerSourceRanges |
List of IP CIDRs allowed access | null |
server.service.nodePort |
For service type "NodePort" | null |
server.service.externalIPs |
External IP addresses | null |
server.service.clusterIP |
Custom clusterIP to use for service | null |
server.service.type |
ClusterIP, NodePort, or LoadBalancer | ClusterIP |
server.setDatasource.enabled |
Creates grafana datasource with job | false |
server.extraEnv |
Extra environment variables to set in the server container | {} |