uptime-kuma

by HelmForge

Helm chartv1.6.4App 2.5.12Apache-2.0Verified publisher

Uptime Kuma self-hosted monitoring with HTTP/TCP/DNS/Ping checks, notifications, status pages, and optional MariaDB

About this chart

Uptime Kuma Helm Chart

Deploy Uptime Kuma on Kubernetes using the official louislam/uptime-kuma Docker image. Self-hosted monitoring with HTTP/TCP/DNS/Ping checks, 90+ notification services, and customizable status pages.

Features

  • 20+ monitor types — HTTP(s), TCP, Ping, DNS, Docker, WebSocket, and more
  • 90+ notification services — Telegram, Discord, Slack, Email, Pushover, and more
  • Status pages — public status pages with custom domains
  • SQLite or MariaDB — embedded SQLite (default) or MySQL subchart
  • External database — connect to existing MariaDB instances
  • Scheduled backups — SQLite tar or mysqldump with S3 upload
  • Ingress support — TLS with cert-manager
  • Gateway API support — optional HTTPRoute rendering for dashboard and status pages
  • External Secrets support — optional ExternalSecret resources for database, backup, or integration credentials
  • Dual-stack Service support — optional ipFamilyPolicy and ipFamilies
  • Secure runtime defaults — seccomp, dropped capabilities, read-only root filesystem, and no API token mount
  • Availability controls — optional PodDisruptionBudget and NetworkPolicy
  • 2FA — built-in two-factor authentication

Architecture

The chart runs one Uptime Kuma application pod behind a ClusterIP Service. The application stores state either on the /app/data PVC (SQLite) or in a bundled or external MariaDB-compatible database. Optional Ingress and HTTPRoute resources expose the Service. A separate CronJob can archive SQLite data or run mysqldump, then upload the result to S3-compatible storage.

Uptime Kuma is intentionally single-replica: horizontal scaling duplicates monitor execution and WebSocket state. The optional PodDisruptionBudget protects that pod from voluntary disruption but does not make the application highly available.

Installation

HTTPS repository:

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install uptime-kuma helmforge/uptime-kuma -f values.yaml

OCI registry:

helm install uptime-kuma oci://ghcr.io/helmforgedev/helm/uptime-kuma -f values.yaml

Basic Example (SQLite)

# values.yaml — default values are sufficient
# SQLite is used by default, no database configuration needed

After deploying, access the setup wizard:

kubectl port-forward svc/<release>-uptime-kuma 3001:80
# Open http://localhost:3001

MariaDB Mode

The optional local database path uses the HelmForge MySQL subchart 2.1.1 as a MariaDB-compatible backend.

database:
  type: mariadb

mysql:
  enabled: true
  auth:
    password: "change-me"

External Database

database:
  type: mariadb
  external:
    host: mariadb.example.com
    name: uptime_kuma
    username: uptime_kuma
    existingSecret: uptime-kuma-db-credentials

mysql:
  enabled: false

Gateway API

gatewayAPI:
  enabled: true
  httpRoutes:
    - name: web
      parentRefs:
        - name: public
          namespace: gateway-system
      hostnames:
        - status.example.com

External Secrets

Use External Secrets Operator to materialize Secrets, then point chart values at those target Secrets.

database:
  type: mariadb
  external:
    host: mariadb.example.com
    existingSecret: uptime-kuma-db

externalSecrets:
  enabled: true
  items:
    - name: database
      spec:
        secretStoreRef:
          name: platform-secrets
          kind: ClusterSecretStore
        target:
          name: uptime-kuma-db
          creationPolicy: Owner
        data:
          - secretKey: password
            remoteRef:
              key: uptime-kuma/database
              property: password

Key Values

KeyDefaultDescription
image.repositorydocker.io/louislam/uptime-kumaUptime Kuma container image
image.tag2.5.6Uptime Kuma image tag
uptimeKuma.port3001Application port
database.typesqliteDatabase type (sqlite, mariadb)
mysql.enabledfalseDeploy MySQL subchart (helmforge/mysql 2.1.1)
persistence.enabledtrueEnable persistence for /app/data
persistence.size2GiPVC size
ingress.enabledfalseEnable ingress
backup.enabledfalseEnable S3 backups
service.port80Service port
service.ipFamilyPolicyomittedOptional Service IP family policy for dual-stack clusters
gatewayAPI.enabledfalseEnable Gateway API HTTPRoute rendering
externalSecrets.enabledfalseRender ExternalSecret resources
serviceAccount.automountServiceAccountTokenfalseMount the Kubernetes API token
runtimeStorage.tmpSizeLimit256MiWritable /tmp emptyDir limit
podDisruptionBudget.enabledfalseRender a PodDisruptionBudget
networkPolicy.enabledfalseRender an explicit NetworkPolicy
image.pullPolicyIfNotPresentContainer image pull policy
uptimeKuma.disableFrameSameOriginfalseAllow cross-origin iframe embedding
uptimeKuma.extraEnv[]Additional application environment variables
database.external.host""External MariaDB-compatible hostname
database.external.port"3306"External database port
database.external.nameuptime_kumaExternal database name
database.external.usernameuptime_kumaExternal database user
database.external.existingSecret""Secret containing the external database password
persistence.storageClass""PVC StorageClass; empty uses the cluster default
persistence.accessModes[ReadWriteOnce]PVC access modes
persistence.existingClaim""Existing PVC used for /app/data
serviceAccount.createfalseCreate a dedicated ServiceAccount
serviceAccount.name""Existing or generated ServiceAccount name override
ingress.ingressClassNametraefikIngress controller class
ingress.hosts[]Ingress host and path rules
ingress.tls[]Ingress TLS configuration
probes.startup.enabledtrueEnable the startup probe
probes.liveness.enabledtrueEnable the liveness probe
probes.readiness.enabledtrueEnable the readiness probe
resources{}Application CPU and memory requests/limits
podSecurityContextRuntimeDefault seccompPod-level security context
securityContextRestricted defaultsApplication container security context
terminationGracePeriodSeconds30Graceful termination window
nodeSelector{}Pod node selector
tolerations[]Pod tolerations
affinity{}Pod affinity and anti-affinity rules
topologySpreadConstraints[]Pod topology spread constraints
backup.schedule0 2 * * *Backup CronJob schedule
backup.concurrencyPolicyForbidConcurrent backup execution policy
backup.tmpSizeLimit64MiBackup temporary-storage limit
backup.s3.endpoint""Required S3-compatible endpoint when backup is enabled
backup.s3.bucket""Required backup bucket
backup.s3.existingSecret""Secret containing S3 credentials
podDisruptionBudget.minAvailable1Minimum available pod during voluntary disruptions
podDisruptionBudget.maxUnavailablenullAlternative maximum unavailable value
networkPolicy.ingress[]Complete ingress rules; empty denies ingress
networkPolicy.egress[]Complete egress rules; empty denies egress
gatewayAPI.httpRoutes[]HTTPRoute definitions
externalSecrets.items[]ExternalSecret resources with complete specs
extraVolumes[]Additional application volumes
extraVolumeMounts[]Additional application volume mounts
extraManifests[]Additional Kubernetes manifests

Security and Operations

The application and backup containers deny privilege escalation, drop all Linux capabilities, use the runtime-default seccomp profile, and keep the image root filesystem read-only. Writable temporary files use bounded emptyDir volumes. Kubernetes API tokens are not mounted unless explicitly enabled. Database value changes update the pod checksum annotation so credential rotations trigger a rollout.

The upstream standard image still starts as UID 0, so the chart does not claim a non-root runtime. Use admission policy, network isolation, resource limits, and tested backups as complementary controls. When enabling networkPolicy, define the ingress and egress rules required for your ingress controller, DNS, monitor targets, notification endpoints, database, and S3 service.

Troubleshooting

  • Pod startup failures: inspect all container logs and verify /app/data is writable, the PVC is bound, and the selected database is reachable.
  • MariaDB failures: confirm database.type=mariadb, provide either the bundled MySQL password or an external database Secret, and check the wait-for-db init container.
  • Backup failures: inspect the backup Job, verify S3 endpoint/bucket credentials, and confirm persistence remains enabled for SQLite backups.
  • NetworkPolicy failures: start from the required DNS, database, S3, notification, monitor-target, and ingress-controller flows; empty rule lists deny that direction.
  • Upgrade failures: restore the last tested backup in a non-production namespace before retrying the upgrade.

Upgrade Notes

Uptime Kuma 2.5.12 includes security fixes, dependency updates, and maintenance improvements. The default database.type=sqlite, port, and persistence paths are unchanged. See the upstream release notes. Keep persistence enabled and back up /app/data before upgrading live instances.

Uptime Kuma 2.5.6 fixes average-response badge calculations and updates security-sensitive dependencies. The default database.type=sqlite, port, and persistence paths are unchanged. See the upstream release notes. Keep persistence enabled and back up /app/data before upgrading live instances.

More Information

  • Database configuration
  • Backup configuration
  • Chart design
  • Source code

Security Scan: uptime-kuma

FrameworkScore
MITRE + NSA + SOC272.72727%

Security posture acceptable.

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 v1.6.4 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