elasticsearch-alerts
A Helm chart for Elasticsearch Alert by AppsCode
About this chart
Elasticsearch alerts
Elasticsearch alerts by AppsCode - Elasticsearch alerts for KubeDB
TL;DR;
$ helm repo add appscode oci://ghcr.io/appscode-charts
$ helm repo update
$ helm search repo appscode/elasticsearch-alerts --version=v2026.7.14
$ helm upgrade -i elasticsearch appscode/elasticsearch-alerts -n demo --create-namespace --version=v2026.7.14
Introduction
This chart deploys Elasticsearch 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 elasticsearch:
$ helm upgrade -i elasticsearch appscode/elasticsearch-alerts -n demo --create-namespace --version=v2026.7.14
The command deploys Elasticsearch 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 elasticsearch:
$ helm uninstall elasticsearch -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 elasticsearch-alerts chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| metadata.resource.group | kubedb.com | |
| metadata.resource.kind | Elasticsearch | |
| metadata.resource.name | elasticsearches | |
| metadata.resource.scope | Namespaced | |
| metadata.resource.version | v1alpha2 | |
| metadata.release.name | Release name | "" |
| metadata.release.namespace | Release namespace | "" |
| form.alert.enabled | # Enable PrometheusRule alerts | warning |
| form.alert.labels | # Labels for default rules | {"release":"kube-prometheus-stack"} |
| form.alert.annotations | # Annotations for default rules | {} |
| form.alert.additionalRuleLabels | # Additional labels for PrometheusRule alerts | {} |
| form.alert.groups.database.enabled | critical | |
| form.alert.groups.database.rules.elasticsearchHeapUsageTooHigh.enabled | true | |
| form.alert.groups.database.rules.elasticsearchHeapUsageTooHigh.val | The heap usage is over 90% | 90 |
| form.alert.groups.database.rules.elasticsearchHeapUsageTooHigh.duration | "2m" | |
| form.alert.groups.database.rules.elasticsearchHeapUsageTooHigh.severity | critical | |
| form.alert.groups.database.rules.elasticsearchHeapUsageWarning.enabled | true | |
| form.alert.groups.database.rules.elasticsearchHeapUsageWarning.val | The heap usage is over 80% | 80 |
| form.alert.groups.database.rules.elasticsearchHeapUsageWarning.duration | "2m" | |
| form.alert.groups.database.rules.elasticsearchHeapUsageWarning.severity | warning | |
| form.alert.groups.database.rules.elasticsearchDiskOutOfSpace.enabled | true | |
| form.alert.groups.database.rules.elasticsearchDiskOutOfSpace.val | The disk usage is over 90%. Value range: 0-100. | 90 |
| form.alert.groups.database.rules.elasticsearchDiskOutOfSpace.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchDiskOutOfSpace.severity | critical | |
| form.alert.groups.database.rules.elasticsearchDiskSpaceLow.enabled | true | |
| form.alert.groups.database.rules.elasticsearchDiskSpaceLow.val | The disk usage is over 80%. Value range: 0-100. | 80 |
| form.alert.groups.database.rules.elasticsearchDiskSpaceLow.duration | "2m" | |
| form.alert.groups.database.rules.elasticsearchDiskSpaceLow.severity | warning | |
| form.alert.groups.database.rules.elasticsearchClusterRed.enabled | true | |
| form.alert.groups.database.rules.elasticsearchClusterRed.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchClusterRed.severity | critical | |
| form.alert.groups.database.rules.elasticsearchClusterYellow.enabled | true | |
| form.alert.groups.database.rules.elasticsearchClusterYellow.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchClusterYellow.severity | warning | |
| form.alert.groups.database.rules.elasticsearchHealthyNodes.enabled | true | |
| form.alert.groups.database.rules.elasticsearchHealthyNodes.val | should have at least 3 healthy nodes | 3 |
| form.alert.groups.database.rules.elasticsearchHealthyNodes.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchHealthyNodes.severity | critical | |
| form.alert.groups.database.rules.elasticsearchHealthyDataNodes.enabled | true | |
| form.alert.groups.database.rules.elasticsearchHealthyDataNodes.val | should have at least 3 healthy data nodes | 3 |
| form.alert.groups.database.rules.elasticsearchHealthyDataNodes.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchHealthyDataNodes.severity | critical | |
| form.alert.groups.database.rules.elasticsearchRelocatingShards.enabled | true | |
| form.alert.groups.database.rules.elasticsearchRelocatingShards.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchRelocatingShards.severity | info | |
| form.alert.groups.database.rules.elasticsearchInitializingShards.enabled | true | |
| form.alert.groups.database.rules.elasticsearchInitializingShards.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchInitializingShards.severity | info | |
| form.alert.groups.database.rules.elasticsearchUnassignedShards.enabled | true | |
| form.alert.groups.database.rules.elasticsearchUnassignedShards.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchUnassignedShards.severity | critical | |
| form.alert.groups.database.rules.elasticsearchPendingTasks.enabled | true | |
| form.alert.groups.database.rules.elasticsearchPendingTasks.duration | "15m" | |
| form.alert.groups.database.rules.elasticsearchPendingTasks.severity | warning | |
| form.alert.groups.database.rules.elasticsearchNoNewDocuments10m.enabled | false | |
| form.alert.groups.database.rules.elasticsearchNoNewDocuments10m.duration | "0m" | |
| form.alert.groups.database.rules.elasticsearchNoNewDocuments10m.severity | info | |
| 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 |
Deploy elasticsearch-alerts with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elasticsearch-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 chartelasticsearch-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