kube-grafana-dashboards
Grafana dashboards for end-to-end Kubernetes cluster monitoring
About this chart
Kubernetes Grafana Dashboards
Kubernetes Grafana Dashboards by AppsCode - Grafana dashboards for end-to-end Kubernetes cluster monitoring
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kube-grafana-dashboards --version=v2023.10.1
$ helm upgrade -i kube-grafana-dashboards appscode/kube-grafana-dashboards -n kubeops --create-namespace --version=v2023.10.1
Introduction
This chart deploys Grafana dashboards on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.16+
Installing the Chart
To install/upgrade the chart with the release name kube-grafana-dashboards:
$ helm upgrade -i kube-grafana-dashboards appscode/kube-grafana-dashboards -n kubeops --create-namespace --version=v2023.10.1
The command deploys Grafana dashboards on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the kube-grafana-dashboards:
$ helm uninstall kube-grafana-dashboards -n kubeops
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the kube-grafana-dashboards chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| dashboard.folderID | ID of Grafana folder where these dashboards will be applied | 0 |
| dashboard.overwrite | If true, dashboard with matching uid will be overwritten | true |
| dashboard.templatize.title | If true, datasource will be prefixed to dashboard name | false |
| dashboard.templatize.datasource | If true, datasource will be hardcoded in the dashboard | true |
| dashboard.multicluster.global.enabled | false | |
| dashboard.multicluster.etcd.enabled | false | |
| grafana.name | Name of Grafana Appbinding where these dashboards are applied | "" |
| grafana.namespace | Namespace of Grafana Appbinding where these dashboards are applied | "" |
| grafana.defaultDashboardsTimezone | Timezone for the default dashboards Other options are: browser or a specific timezone, i.e. Europe/Luxembourg | utc |
| coreDns.enabled | true | |
| kubeEtcd.enabled | true | |
| kubeApiServer.enabled | true | |
| kubeControllerManager.enabled | true | |
| kubelet.enabled | true | |
| kubeProxy.enabled | true | |
| kubeScheduler.enabled | true | |
| nodeExporter.enabled | true | |
| prometheus.remoteWriteDashboards | Enable/Disable Grafana dashboards provisioning for prometheus remote write feature | false |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i kube-grafana-dashboards appscode/kube-grafana-dashboards -n kubeops --create-namespace --version=v2023.10.1 --set dashboard.folderID=0
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i kube-grafana-dashboards appscode/kube-grafana-dashboards -n kubeops --create-namespace --version=v2023.10.1 --values values.yaml
Deploy kube-grafana-dashboards with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-grafana-dashboards 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 chartkube-grafana-dashboards is pinned at v2023.10.1 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