checkmk

by rtomik

Helm chartv0.1.0App 2.5.0p6Verified publisher

Checkmk monitoring platform helm chart for Kubernetes

About this chart

Checkmk Helm Chart

Helm chart for deploying Checkmk — an infrastructure and application monitoring platform — on Kubernetes.

Overview

Checkmk uses OMD (Open Monitoring Distribution) to manage monitoring sites. This chart deploys the Community Edition using the official Docker image with:

  • Persistent storage for all site data (/omd/sites)
  • RAM-backed tmpfs for the site temp directory (performance optimization from the official docs)
  • Separate service ports for the web interface (5000) and agent receiver (8000)
  • Admin password stored in a Kubernetes Secret

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+
  • A default StorageClass or an existing PersistentVolumeClaim

Quick Start

helm install checkmk ./charts/checkmk \
  --set config.adminPassword.value=mysecretpassword \
  --set ingress.enabled=true \
  --set ingress.hosts[0].host=checkmk.example.com \
  --set ingress.hosts[0].paths[0].path=/ \
  --set ingress.hosts[0].paths[0].pathType=Prefix

After installation, access the UI at http://<host>/cmk/check_mk/ with username cmkadmin.

Configuration

Admin Password (recommended: use existing secret)

kubectl create secret generic checkmk-secrets \
  --from-literal=cmk-password=<your-password>
config:
  adminPassword:
    existingSecret: "checkmk-secrets"
    passwordKey: "cmk-password"

Site ID

The config.siteId value sets the Checkmk site name and determines the URL path (/<siteId>/check_mk/). Defaults to cmk.

Livestatus TCP

Enable Livestatus TCP for distributed monitoring setups or external integrations:

config:
  livestatusTcp: true

Persistence

Site data (hosts, checks, RRD files) is stored in /omd/sites. A 5 Gi PVC is created by default. Adjust size or use an existing claim:

persistence:
  size: 20Gi
  storageClass: "fast-ssd"

Key Values

KeyDefaultDescription
image.tag2.5.0p6Checkmk Community image tag
config.siteIdcmkMonitoring site name
config.timezoneUTCContainer timezone
config.adminPassword.valuechangemecmkadmin password (use existingSecret in production)
config.livestatusTcpfalseEnable Livestatus over TCP
config.mailRelayHost""SMTP relay for notifications
service.port5000Web interface port
service.agentReceiverPort8000Agent registration port
persistence.enabledtrueEnable persistent storage
persistence.size5GiPVC size

Security Notes

Checkmk (OMD) requires root access inside the container to manage monitoring sites and switch to the site user account. The podSecurityContext.runAsUser is set to 0 and containerSecurityContext.allowPrivilegeEscalation is true by default.

Place a reverse proxy (e.g. Traefik or nginx) in front for TLS termination rather than exposing the container port directly.

Deploy checkmk with OpenTenant

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