nats-alerts

by AppsCode Inc.

Helm chartv2026.7.14App v1.1.0Verified publisher

A Helm chart for NATS JetStream Alert Rules

About this chart

NATS alerts

NATS alerts by AppsCode - NATS alerts for NATS clusters

TL;DR;

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

Introduction

This chart deploys NATS alerts on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.21+
  • Prometheus operator

Installing the Chart

To install/upgrade the chart with the release name nats-alerts:

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

The command deploys NATS 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 nats-alerts:

$ helm uninstall nats-alerts -n monitoring

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 nats-alerts chart and their default values.

ParameterDescriptionDefault
metadata.resource.groupapps
metadata.resource.kindStatefulSet
metadata.resource.namestatefulsets
metadata.resource.scopeNamespaced
metadata.resource.versionv1
metadata.release.nameRelease name""
metadata.release.namespaceRelease namespace""
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.core.enabledwarning
form.alert.groups.core.rules.natsDown.enabledtrue
form.alert.groups.core.rules.natsDown.duration"15m"
form.alert.groups.core.rules.natsDown.severitycritical
form.alert.groups.core.rules.natsReplicasNotReady.enabledtrue
form.alert.groups.core.rules.natsReplicasNotReady.duration"15m"
form.alert.groups.core.rules.natsReplicasNotReady.severitycritical
form.alert.groups.resourceUtilization.enabledwarning
form.alert.groups.resourceUtilization.rules.natsJetStreamHighMemoryUsage.enabledtrue
form.alert.groups.resourceUtilization.rules.natsJetStreamHighMemoryUsage.duration"5m"
form.alert.groups.resourceUtilization.rules.natsJetStreamHighMemoryUsage.severitycritical
form.alert.groups.resourceUtilization.rules.natsJetStreamHighMemoryUsage.val90
form.alert.groups.resourceUtilization.rules.natsJetStreamHighStorageUsage.enabledtrue
form.alert.groups.resourceUtilization.rules.natsJetStreamHighStorageUsage.duration"5m"
form.alert.groups.resourceUtilization.rules.natsJetStreamHighStorageUsage.severitycritical
form.alert.groups.resourceUtilization.rules.natsJetStreamHighStorageUsage.val90
form.alert.groups.consumerHealth.enabledwarning
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessages.enabledtrue
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessages.duration"10m"
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessages.severitycritical
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessages.val5000
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessagesWarning.enabledtrue
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessagesWarning.duration"10m"
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessagesWarning.severitywarning
form.alert.groups.consumerHealth.rules.natsJetStreamHighPendingMessagesWarning.val2000
form.alert.groups.consumerHealth.rules.natsJetStreamHighAckPending.enabledtrue
form.alert.groups.consumerHealth.rules.natsJetStreamHighAckPending.duration"10m"
form.alert.groups.consumerHealth.rules.natsJetStreamHighAckPending.severitycritical
form.alert.groups.consumerHealth.rules.natsJetStreamHighAckPending.val2000
form.alert.groups.consumerHealth.rules.natsJetStreamBacklogNoProgress.enabledtrue
form.alert.groups.consumerHealth.rules.natsJetStreamBacklogNoProgress.duration"15m"
form.alert.groups.consumerHealth.rules.natsJetStreamBacklogNoProgress.severitywarning
form.alert.groups.consumerHealth.rules.natsJetStreamBacklogNoProgress.val100
form.alert.groups.streamPerformance.enabledwarning
form.alert.groups.streamPerformance.rules.natsJetStreamNearMessageLimit.enabledtrue
form.alert.groups.streamPerformance.rules.natsJetStreamNearMessageLimit.duration"15m"
form.alert.groups.streamPerformance.rules.natsJetStreamNearMessageLimit.severitywarning
form.alert.groups.streamPerformance.rules.natsJetStreamNearMessageLimit.val80
form.alert.groups.streamPerformance.rules.natsJetStreamNearByteLimit.enabledtrue
form.alert.groups.streamPerformance.rules.natsJetStreamNearByteLimit.duration"15m"
form.alert.groups.streamPerformance.rules.natsJetStreamNearByteLimit.severitywarning
form.alert.groups.streamPerformance.rules.natsJetStreamNearByteLimit.val80
form.alert.groups.connectivity.enabledwarning
form.alert.groups.connectivity.rules.natsJetStreamDisabled.enabledtrue
form.alert.groups.connectivity.rules.natsJetStreamDisabled.duration"2m"
form.alert.groups.connectivity.rules.natsJetStreamDisabled.severitycritical
form.alert.groups.connectivity.rules.natsSlowConsumers.enabledtrue
form.alert.groups.connectivity.rules.natsSlowConsumers.duration"5m"
form.alert.groups.connectivity.rules.natsSlowConsumers.severitywarning
form.alert.groups.connectivity.rules.natsSlowConsumers.val5
form.alert.groups.connectivity.rules.natsStalledClients.enabledtrue
form.alert.groups.connectivity.rules.natsStalledClients.duration"15m"
form.alert.groups.connectivity.rules.natsStalledClients.severitywarning
form.alert

Deploy nats-alerts with OpenTenant

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