grafana
by Flux
Grafana dashboards for monitoring Flagger canary deployments
About this chart
Flagger Grafana
Grafana dashboards for monitoring progressive deployments powered by Flagger and Prometheus.
Prerequisites
- Kubernetes >= 1.11
- Prometheus >= 2.6
Installing the Chart
Add Flagger Helm repository:
helm repo add flagger https://flagger.app
To install the chart for Istio run:
helm upgrade -i flagger-grafana flagger/grafana \
--namespace=istio-system \
--set url=http://prometheus:9090
To install the chart for AWS App Mesh run:
helm upgrade -i flagger-grafana flagger/grafana \
--namespace=appmesh-system \
--set url=http://appmesh-prometheus:9090
The command deploys Grafana on the Kubernetes cluster in the default namespace. The configuration section lists the parameters that can be configured during installation.
Uninstalling the Chart
To uninstall/delete the flagger-grafana deployment:
helm delete --purge flagger-grafana
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists the configurable parameters of the Grafana chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Image repository | grafana/grafana |
image.pullPolicy | Image pull policy | IfNotPresent |
image.tag | Image tag | <VERSION> |
replicaCount | desired number of pods | 1 |
resources | pod resources | none |
tolerations | List of node taints to tolerate | [] |
affinity | node/pod affinities | node |
nodeSelector | node labels for pod assignment | {} |
service.type | type of service | ClusterIP |
url | Prometheus URL | http://prometheus:9090 |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
helm install flagger/grafana --name flagger-grafana \
--set token=WEAVE-CLOUD-TOKEN
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
helm install flagger/grafana --name flagger-grafana -f values.yaml
Tip: You can use the default values.yaml
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgrafana is pinned at v1.7.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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