clickhouse-alerts
A Helm chart for ClickHouse Alert by AppsCode
About this chart
ClickHouse alerts
ClickHouse alerts by AppsCode - ClickHouse alerts for KubeDB
TL;DR;
$ helm repo add appscode oci://ghcr.io/appscode-charts
$ helm repo update
$ helm search repo appscode/clickhouse-alerts --version=v2026.7.14
$ helm upgrade -i clickhouse appscode/clickhouse-alerts -n demo --create-namespace --version=v2026.7.14
Introduction
This chart deploys ClickHouse 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 clickhouse:
$ helm upgrade -i clickhouse appscode/clickhouse-alerts -n demo --create-namespace --version=v2026.7.14
The command deploys ClickHouse 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 clickhouse:
$ helm uninstall clickhouse -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 clickhouse-alerts chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| metadata.resource.group | kubedb.com | |
| metadata.resource.kind | ClickHouse | |
| metadata.resource.name | clickhouses | |
| metadata.resource.scope | Namespaced | |
| metadata.resource.version | v1alpha2 | |
| metadata.release.name | Release name | "" |
| metadata.release.namespace | Release namespace | "" |
| form.alert.appSuffix | # Suffix appended to .Release.Name to form the application name ($app). # Leave empty for standalone deployments. Set when deployed as a subchart # to match the KubeDB resource suffix (e.g. "-ch" for ClickHouse). | "" |
| 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 | warning | |
| form.alert.groups.database.rules.clickhouseInstanceDown.enabled | true | |
| form.alert.groups.database.rules.clickhouseInstanceDown.duration | "1m" | |
| form.alert.groups.database.rules.clickhouseInstanceDown.severity | critical | |
| form.alert.groups.database.rules.clickhouseTooManyConnections.enabled | true | |
| form.alert.groups.database.rules.clickhouseTooManyConnections.duration | "5m" | |
| form.alert.groups.database.rules.clickhouseTooManyConnections.val | 400 | |
| form.alert.groups.database.rules.clickhouseTooManyConnections.severity | critical | |
| form.alert.groups.database.rules.clickhouseTooManyActiveQueries.enabled | true | |
| form.alert.groups.database.rules.clickhouseTooManyActiveQueries.duration | "1m" | |
| form.alert.groups.database.rules.clickhouseTooManyActiveQueries.val | 500 | |
| form.alert.groups.database.rules.clickhouseTooManyActiveQueries.severity | warning | |
| form.alert.groups.database.rules.clickhouseReplicationPartFetchFailed.enabled | true | |
| form.alert.groups.database.rules.clickhouseReplicationPartFetchFailed.duration | "5m" | |
| form.alert.groups.database.rules.clickhouseReplicationPartFetchFailed.severity | warning | |
| form.alert.groups.database.rules.clickhouseBrokenPartsDetected.enabled | true | |
| form.alert.groups.database.rules.clickhouseBrokenPartsDetected.duration | "0m" | |
| form.alert.groups.database.rules.clickhouseBrokenPartsDetected.severity | critical | |
| form.alert.groups.database.rules.clickhouseDataPartCorrupted.enabled | true | |
| form.alert.groups.database.rules.clickhouseDataPartCorrupted.duration | "5m" | |
| form.alert.groups.database.rules.clickhouseDataPartCorrupted.severity | warning | |
| form.alert.groups.database.rules.diskUsageHigh.enabled | true | |
| form.alert.groups.database.rules.diskUsageHigh.val |
Deploy clickhouse-alerts with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has clickhouse-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 chartclickhouse-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