postgres-alerts

by AppsCode Inc.

Helm chartv2026.7.14App v0.7.0Verified publisher

A Helm chart for Postgres Alert by AppsCode

About this chart

Postgres alerts

Postgres alerts by AppsCode - Postgres alerts for KubeDB

TL;DR;

$ helm repo add appscode oci://ghcr.io/appscode-charts
$ helm repo update
$ helm search repo appscode/postgres-alerts --version=v2026.7.14
$ helm upgrade -i postgres appscode/postgres-alerts -n demo --create-namespace --version=v2026.7.14

Introduction

This chart deploys Postgres 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 postgres:

$ helm upgrade -i postgres appscode/postgres-alerts -n demo --create-namespace --version=v2026.7.14

The command deploys Postgres 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 postgres:

$ helm uninstall postgres -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 postgres-alerts chart and their default values.

ParameterDescriptionDefault
metadata.resource.groupkubedb.com
metadata.resource.kindPostgres
metadata.resource.namepostgreses
metadata.resource.scopeNamespaced
metadata.resource.versionv1alpha2
metadata.release.nameRelease name""
metadata.release.namespaceRelease 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. "-db" for Postgres).""
form.alert.enabled# Enable PrometheusRule alertswarning
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.enabledwarning
form.alert.groups.database.rules.postgresInstanceDown.enabledtrue
form.alert.groups.database.rules.postgresInstanceDown.duration"1m"
form.alert.groups.database.rules.postgresInstanceDown.severitycritical
form.alert.groups.database.rules.postgresRestarted.enabledtrue
form.alert.groups.database.rules.postgresRestarted.duration"0m"
form.alert.groups.database.rules.postgresRestarted.val60
form.alert.groups.database.rules.postgresRestarted.severitycritical
form.alert.groups.database.rules.postgresExporterError.enabledtrue
form.alert.groups.database.rules.postgresExporterError.duration"5m"
form.alert.groups.database.rules.postgresExporterError.severitywarning
form.alert.groups.database.rules.postgresTooManyConnections.enabledtrue
form.alert.groups.database.rules.postgresTooManyConnections.duration"5m"
form.alert.groups.database.rules.postgresTooManyConnections.val95
form.alert.groups.database.rules.postgresTooManyConnections.severitycritical
form.alert.groups.database.rules.postgresSlowQueries.enabledtrue
form.alert.groups.database.rules.postgresSlowQueries.duration"1m"
form.alert.groups.database.rules.postgresSlowQueries.val60
form.alert.groups.database.rules.postgresSlowQueries.severitywarning
form.alert.groups.database.rules.postgresHighRollbackRate.enabledtrue
form.alert.groups.database.rules.postgresHighRollbackRate.duration"5m"
form.alert.groups.database.rules.postgresHighRollbackRate.val0.05
form.alert.groups.database.rules.postgresHighRollbackRate.severity

Deploy postgres-alerts with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has postgres-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpostgres-alerts is pinned at v2026.7.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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