uptime-kuma

by Ad Noctem Collective

Helm chartv0.2.2App 1.23.13MIT

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

About this chart

FMJ Studios - 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 fmjstudios https://fmjstudios.github.io/helm
helm install uptime-kuma fmjstudios/uptime-kuma --version X.Y.Z

OCI Installation

helm install oci://ghcr.io/fmjstudios/helm/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](StatefulSet or) via the uptimeKuma key in Helm's values and makes use of the official Docker Hub container image, although this is configureble via the Image Parameters.

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/uptimeKuma
image.tagThe image tag to pull'1.23.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""
ingress.whitelistA comma-separated list of IP addresses to whitelist""
ingress.annotationsAnnotations for the Ingress resource{}
ingress.tlsA list of hostnames and secret names to use for TLS[]
ingress.extraHostsA list of extra hosts for the Ingress resource (with vaultwarden.domain)[]

Service parameters

NameDescriptionValue
service.typeThe type of service to createClusterIP
service.portThe port to use on the service80
service.nodePortThe Node port to use on the service30080
service.extraPortsExtra ports to add to the service[]
service.annotationsAnnotations for the service resource{}
service.labelsLabels for the service resource{}
service.externalTrafficPolicyThe external traffic policy for the serviceCluster
service.internalTrafficPolicyThe internal traffic policy for the serviceCluster
service.clusterIPDefine a static cluster IP for the service""
service.loadBalancerIPSet the Load Balancer IP""
service.loadBalancerClassDefine Load Balancer class if service type is LoadBalancer (optional, cloud specific)""
service.loadBalancerSourceRangesService Load Balancer source ranges[]
service.externalIPsService External IPs[]
service.sessionAffinitySession Affinity for Kubernetes service, can be "None" or "ClientIP"None
service.sessionAffinityConfigAdditional settings for the sessionAffinity{}
service.ipFamilyPolicyThe ipFamilyPolicy{}

RBAC parameters

NameDescriptionValue
rbac.createWhether to create RBAC resourcestrue
rbac.rulesExtra rules to add to the Role[]

Service Account parameters

NameDescriptionValue
serviceAccount.createWhether a service account should be createdtrue
serviceAccount.automountWhether to automount the service account tokenfalse
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameA custom name for the service account, otherwise uptimeKuma.fullname is used""
serviceAccount.secretsA list of secrets mountable by this service account[]

Liveness Probe parameters

NameDescriptionValue
livenessProbe.enabledEnable or disable the use of liveness probesfalse
livenessProbe.initialDelaySecondsConfigure the initial de

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