hanadb-alerts
A Helm chart for HanaDB Alert by AppsCode
About this chart
HanaDB alerts
HanaDB alerts by AppsCode - HanaDB alerts for KubeDB
TL;DR;
$ helm repo add appscode oci://ghcr.io/appscode-charts
$ helm repo update
$ helm search repo appscode/hanadb-alerts --version=v2026.7.14
$ helm upgrade -i hana-cluster appscode/hanadb-alerts -n demo --create-namespace --version=v2026.7.14
Introduction
This chart deploys HanaDB alerts on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.19+
Installing the Chart
To install/upgrade the chart with the release name hana-cluster:
$ helm upgrade -i hana-cluster appscode/hanadb-alerts -n demo --create-namespace --version=v2026.7.14
The command deploys HanaDB alerts 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 hana-cluster:
$ helm uninstall hana-cluster -n demo
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 hanadb-alerts chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| metadata.resource.group | kubedb.com | |
| metadata.resource.kind | HanaDB | |
| metadata.resource.name | hanadbs | |
| metadata.resource.scope | Namespaced | |
| metadata.resource.version | v1alpha2 | |
| metadata.release.name | "hana-cluster" | |
| metadata.release.namespace | "demo" | |
| form.alert.enabled | warning | |
| form.alert.labels.release | kube-prometheus-stack | |
| form.alert.annotations | {} | |
| form.alert.additionalRuleLabels | {} | |
| form.alert.groups.database.enabled | warning | |
| form.alert.groups.database.rules.hanadbInstanceDown.enabled | true | |
| form.alert.groups.database.rules.hanadbInstanceDown.duration | "0m" | |
| form.alert.groups.database.rules.hanadbInstanceDown.severity | critical | |
| form.alert.groups.database.rules.hanadbServiceDown.enabled | true | |
| form.alert.groups.database.rules.hanadbServiceDown.duration | "0m" | |
| form.alert.groups.database.rules.hanadbServiceDown.severity | critical | |
| form.alert.groups.database.rules.hanadbRestarted.enabled | true | |
| form.alert.groups.database.rules.hanadbRestarted.duration | "1m" | |
| form.alert.groups.database.rules.hanadbRestarted.severity | warning | |
| form.alert.groups.database.rules.hanadbRestarted.val | 180 | |
| form.alert.groups.database.rules.hanadbHighCPUUsage.enabled | true | |
| form.alert.groups.database.rules.hanadbHighCPUUsage.duration | "5m" | |
| form.alert.groups.database.rules.hanadbHighCPUUsage.severity | warning | |
| form.alert.groups.database.rules.hanadbHighCPUUsage.val | 80 | |
| form.alert.groups.database.rules.hanadbHighMemoryUsage.enabled | true | |
| form.alert.groups.database.rules.hanadbHighMemoryUsage.duration | "5m" | |
| form.alert.groups.database.rules.hanadbHighMemoryUsage.severity | warning | |
| form.alert.groups.database.rules.hanadbHighMemoryUsage.val | 80 | |
| form.alert.groups.database.rules.hanadbReplicationNotActive.enabled | true | |
| form.alert.groups.database.rules.hanadbReplicationNotActive.duration | "2m" | |
| form.alert.groups.database.rules.hanadbReplicationNotActive.severity | critical | |
| form.alert.groups.database.rules.diskUsageHigh.enabled | true | |
| form.alert.groups.database.rules.diskUsageHigh.val | 80 | |
| form.alert.groups.database.rules.diskUsageHigh.duration | "1m" | |
| form.alert.groups.database.rules.diskUsageHigh.severity | warning | |
| form.alert.groups.database.rules.diskAlmostFull.enabled | true | |
| form.alert.groups.database.rules.diskAlmostFull.val | 95 | |
| form.alert.groups.database.rules.diskAlmostFull.duration | "1m" | |
| form.alert.groups.database.rules.diskAlmostFull.severity | critical | |
| form.alert.groups.provisioner.enabled | warning | |
| form.alert.groups.provisioner.rules.appPhaseNotReady.enabled | true | |
| form.alert.groups.provisioner.rules.appPhaseNotReady.duration | "1m" | |
| form.alert.groups.provisioner.rules.appPhaseNotReady.severity | critical | |
| form.alert.groups.provisioner.rules.appPhaseCritical.enabled | true | |
| form.alert.groups.provisioner.rules.appPhaseCritical.duration | "15m" | |
| form.alert.groups.provisioner.rules.appPhaseCritical.severity | warning | |
| grafana.enabled | false | |
| grafana.version | 7.5.5 | |
| grafana.jobName | kubedb-databases | |
| grafana.url | "" | |
| grafana.apikey | "" |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i hana-cluster appscode/hanadb-alerts -n demo --create-namespace --version=v2026.7.14 --set metadata.resource.group=kubedb.com
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i hana-cluster appscode/hanadb-alerts -n demo --create-namespace --version=v2026.7.14 --values values.yaml
Deploy hanadb-alerts with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hanadb-alerts 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 charthanadb-alerts is pinned at v2026.7.14 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