uptime-kuma

by lbenicio

Helm chartv0.1.4App 2.3.2Verified publisher

A self-hosted monitoring tool like Uptime Robot

About this chart

uptime-kuma

A self-hosted monitoring tool like Uptime Robot, with a beautiful UI for tracking service uptime, response time, and certificates.

TL;DR

helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/uptime-kuma --version 0.1.4

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.x+

Parameters

KeyTypeDefaultDescription
image.repositorystringlouislam/uptime-kumaContainer image repository
image.tagstring""Image tag (defaults to Chart.appVersion)
image.pullPolicystringIfNotPresentImage pull policy
replicaCountint1Number of replicas
service.typestringClusterIPService type
service.portint3001Service port
ingress.enabledboolfalseEnable ingress
ingress.classNamestring""Ingress class name
ingress.hostslist[{"host":"uptime.local","paths":[{"path":"/","pathType":"Prefix"}]}]Ingress host rules
ingress.tlslist[]Ingress TLS configuration
persistence.enabledbooltrueEnable PVC for SQLite database
persistence.sizestring4GiPVC size
persistence.storageClassstringlocal-pathStorage class
customCA.enabledboolfalseMount an additional CA and set NODE_EXTRA_CA_CERTS
customCA.configMap.namestring""Existing ConfigMap containing the CA bundle
customCA.configMap.keystringca.pemConfigMap key containing the CA bundle
customCA.configMap.createboolfalseLet Helm create the CA ConfigMap
customCA.configMap.contentstring""PEM contents, normally supplied with --set-file
customCA.secret.namestring""Existing Secret source, as an alternative to ConfigMap
customCA.secret.keystringca.crtSecret key containing the CA bundle
customCA.mountPathstring/etc/ssl/certs/custom-ca.pemMounted file and NODE_EXTRA_CA_CERTS path
resources.requests.cpustring100mCPU request
resources.requests.memorystring128MiMemory request
resources.limits.cpustring500mCPU limit
resources.limits.memorystring512MiMemory limit
keel.enabledbooltrueEnable Keel auto-update annotations
keel.policystringforceKeel update policy
keel.triggerstringpollKeel trigger type
keel.pollSchedulestring@every 24hKeel poll schedule
env.TZstringUTCContainer timezone

Configuration

Additional CA bundle

Mount a ConfigMap created by this chart or an existing ConfigMap/Secret as an additional trust root for outbound TLS connections. The chart mounts the file read-only and configures Node.js to load it through NODE_EXTRA_CA_CERTS.

customCA:
  enabled: true
  configMap:
    create: true
    name: uptimekuma-ca
    key: ca.pem
  mountPath: /etc/uptime-kuma/ca.pem

Provide the PEM bundle at install time without duplicating it in values:

helm upgrade --install uptimekuma lbenicio-community/uptime-kuma \
  --version 0.1.4 --namespace default -f values.yaml \
  --set-file customCA.configMap.content=ca.pem

Ingress

ingress:
  enabled: true
  className: traefik
  annotations:
    cert-manager.io/cluster-issuer: ca-issuer
  hosts:
    - host: uptime.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: uptime-tls
      hosts:
        - uptime.example.com

Persistence

Uptime Kuma stores its SQLite database (kuma.db) in /app/data. A PVC is enabled by default to persist monitors, settings, and history across restarts.

persistence:
  enabled: true
  size: 4Gi
  storageClass: local-path

License

This chart is licensed under GPLv3.


Made with ❤️ by lbenicio

Extra volumes

Use extraVolumeMounts and extraVolumes to add mounts and pod volumes, for example to mount an additional CA bundle from a ConfigMap.

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.1.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