uptime-kuma

by Ad Noctem Collective

Helm chartv0.5.2App 2.5.11MITVerified publisher

Uptime-Kuma is an open-source, self-hosted fancy uptime monitoring tool

About this chart

Ad Noctem Collective - Uptime-Kuma Helm Chart

Uptime-Kuma is an open-source, is an easy-to-use self-hosted monitoring tool. It supports monitoring uptime for HTTP( s) / TCP / HTTP(s) Keyword / HTTP(s) Json Query / Ping / DNS Record / Push / Steam Game Server / Docker Containers, sports a fancy reactive and fast UI and features notifications via Telegram, Discord, Gotify, Slack, Pushover, Email ( SMTP), and 90+ notification services. Additionally the application is available in multiple languages, can map status pages to specific domains and supports proxies and 2FA. It delivers all of these features within a single Docker image available on Docker Hub.

Head to the Uptime-Kuma GitHub Repository for in-depth documentation and configuration guides.

✨ TL;DR

Helm Repository Installation

helm repo add adnoctem https://adnoctem.github.io/charts
helm install uptime-kuma adnoctem/uptime-kuma --version X.Y.Z

OCI Installation

helm install oci://ghcr.io/adnoctem/charts/uptime-kuma:X.Y.Z

Introduction

This chart bootstraps an Uptime-Kuma StatefulSet or Deployment on a Kubernetes cluster using the Helm package manager. For cluster networking a Service and Ingress manifest is also created, whereas the Ingress needs to be explicitly enabled. Lastly the chart configures a PodDisruptionBudget if enabled. RBAC manifests are enabled by default.

The chart supports the configuration of all Uptime-Kuma environment variables via the uptimeKuma key in Helm's values and makes use of the official Docker Hub container image, although this is configurable via the Image Parameters.

Upgrading

To 0.5.1 (Uptime-Kuma 2.5.9 -> 2.5.11)

Uptime-Kuma 2.5.11 fixes an admin-only remote code-execution issue caused by an upstream dependency regression and updates dependencies. It includes 2.5.10, which fixes password reset with embedded MariaDB and updates the Docker image's Node.js runtime for security fixes.

Existing Helm values remain compatible, with no new database migrations in these releases. Back up persistent application data before upgrading. Installations older than 2.5.9 must also follow the migration notes below, particularly the removal of TLS/STARTTLS checks from TCP Port monitors.

To 0.5.0 (Uptime-Kuma 2.5.6 -> 2.5.9)

This is a breaking chart release because Uptime-Kuma 2.5.8 removes TLS/STARTTLS support from TCP Port monitors. Existing TCP Port monitors become plain TCP connectivity checks: a successful check no longer establishes that the endpoint can complete a TLS handshake or serve a valid certificate.

Before upgrading, review TCP Port monitors that use TLS/STARTTLS. For HTTPS services, configure an HTTP(s) monitor with certificate verification enabled. For other TLS/STARTTLS services, arrange a separate TLS-aware check before relying on the remaining TCP connectivity check. No Helm value restores the removed functionality.

Back up persistent application data before upgrading. No Helm values are renamed or removed by this chart update. The included 2.5.7 update rejects a compromised eMudhra CA; replace affected server certificate chains rather than disabling certificate verification. 2.5.9 also fixes monitor timeouts, push monitor retries, maintenance timezone display and RSS cache poisoning, and includes the security fixes from 2.5.8.

To 0.4.3 (Uptime-Kuma 2.5.5 -> 2.5.6)

Uptime-Kuma 2.5.6 fixes the average-response badge endpoint and includes dependency security updates. No Helm value changes or database migrations are required when upgrading from 2.5.5.

To 0.4.2 (Uptime-Kuma 2.5.4 -> 2.5.5)

Uptime-Kuma 2.5.5 fixes a memory leak in TCP monitors by closing TLS sockets after certificate checks. No Helm value changes or database migrations are required when upgrading from 2.5.4.

To 0.4.0 (Uptime-Kuma 1.23.13 -> 2.5.3)

This is a major upstream version bump. Read the official v1 to v2 migration guide before upgrading - on first start with the new image, Uptime-Kuma migrates its SQLite database in place, which can take anywhere from minutes to hours depending on how much monitor history you have, and must not be interrupted. Back up your PVC first.

  • Fixed three pre-existing, version-independent template bugs found while testing this bump:
    • The readinessProbe and startupProbe blocks both incorrectly rendered a second/third livenessProbe instead of their own probe type, so enabling more than one of the three probes only ever actually configured one of them on the container.
    • All three probes checked an /alive path that has never existed in Uptime-Kuma's HTTP server, in v1 or v2. Switched to /, which is what the image's own bundled Docker healthcheck script checks for a redirect on.
    • uptimeKuma.node.tlsRejectUnauthorized rendered into the NODE_EXTRA_CA_CERTS ConfigMap key (a duplicate of the unrelated CA-bundle setting) instead of NODE_TLS_REJECT_UNAUTHORIZED.
  • No values were renamed or removed - every environment variable this chart already configures is still valid and unchanged in v2.
  • Operational notes, no chart changes required for these:
    • Uptime-Kuma's own log line format changed between v1 and v2 - if you ship or parse container logs externally, expect to update those rules.
    • Badge endpoint duration parameters (/api/badge/:monitorID/{ping,uptime}/:duration) are now restricted to 24, 24h, 30d, 1y-style values.
    • Legacy browser support was dropped from the bundled web UI.
    • v2 adds -slim and -rootless image tag variants, but upstream explicitly recommends against using -rootless for the v1 -> v2 migration itself due to known startup issues - this chart's default image.tag stays on the standard (non-slim, non-rootless) variant.

Parameters

Uptime-Kuma Image parameters

NameDescriptionValue
image.registryThe Docker registry to pull the image fromdocker.io
image.repositoryThe registry repository to pull the image fromlouislam/uptime-kuma
image.tagThe image tag to pull2.5.11
image.digestThe image digest to pull""
image.pullPolicyThe Kubernetes image pull policyIfNotPresent
image.pullSecretsA list of secrets to use for pulling images from private registries[]

Uptime-Kuma Name overrides

NameDescriptionValue
nameOverrideString to partially override uptimeKuma.fullname""
fullnameOverrideString to fully override uptimeKuma.fullname""

Uptime-Kuma Configuration parameters

NameDescriptionValue
uptimeKuma.hostThe host address to bind Uptime-Kuma to"::"
uptimeKuma.portThe port for Uptime-Kuma to listen on3001
uptimeKuma.disableFrameSameOriginAllow Uptime-Kuma to be embedded inside HTML 'iframes' of other originsfalse
uptimeKuma.websocketOriginCheckConfigures Uptime-Kuma to check whether the websocket 'ORIGIN' header matches the server's hostname"cors-like"
uptimeKuma.allowAllChromeExecutablesAllow to specify any executables as Chromium"0"
uptimeKuma.data.pathThe relative path to store data indata
uptimeKuma.data.pvc.sizeThe size given to PVCs created from the above data5Gi
uptimeKuma.data.pvc.storageClassThe storageClass given to PVCs created from the above datastandard
uptimeKuma.data.pvc.reclaimPolicyThe resourcePolicy given to PVCs created from the above dataRetain
uptimeKuma.data.pvc.existingClaimProvide the name to an existing PVC""
uptimeKuma.certs.keyThe path to an TLS certificate key - ignored if 'existingSecret' is set""
uptimeKuma.certs.certThe path to an TLS certificate cert - ignored if 'existingSecret' is set""
uptimeKuma.certs.passphrase.valueThe passphrase for the TLS certificate key""
uptimeKuma.certs.passphrase.existingSecret.nameThe name of an existing Kubernetes secret""
uptimeKuma.certs.passphrase.existingSecret.keyThe key within the existing Kubernetes secret""
uptimeKuma.cloudflaredToken.valueThe Cloudflare Tunnel token""
uptimeKuma.cloudflaredToken.existingSecret.nameThe name of an existing Kubernetes secret""
uptimeKuma.cloudflaredToken.existingSecret.keyThe key within the existing Kubernetes secret""
uptimeKuma.node.extraCaCertsThe path to CA bundle for Node.js to use - in order to verify self-signed certificates""
uptimeKuma.node.tlsRejectUnauthorizedIgnore all TLS verification errors""
uptimeKuma.node.optionsSpecify extra CLI options to pass to Node.js[]

ConfigMap parameters

NameDescriptionValue
configMap.annotationsAnnotations for the ConfigMap resource{}
configMap.labelsExtra Labels for the ConfigMap resource{}

Common Secret parameters

NameDescriptionValue
secret.annotationsCommon annotations for the SMTP, HIBP, Admin and Database secrets{}
secret.labelsCommon extra labels for the SMTP, HIBP, Admin and Database secrets{}

Ingress parameters

NameDescriptionValue
ingress.enabledWhether to enable Ingressfalse
ingress.classNameThe IngressClass to use for the pod's ingress

Deploy uptime-kuma with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has uptime-kuma 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 chartuptime-kuma is pinned at v0.5.2 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