matomo
Helm chartv13.0.0App 5.14.1
A Helm chart for Matomo
About this chart
matomo
A Helm chart for Matomo
Values
| Key | Type | Default | Description |
|---|---|---|---|
| db.hostname | string | "matomo-db-mysql" | Database hostname. |
| db.name | string | "matomo" | Database name. |
| db.password.secretKeyRef.key | string | "mysql-root-password" | Key within the secret holding the database password. |
| db.password.secretKeyRef.name | string | "matomo-db-mysql" | Name of the secret holding the database password. |
| db.port | int | 3306 | Database port. |
| db.prefix | string | "matomo_" | Table prefix. |
| db.username | string | "root" | Database username. |
| extraConfigMaps | object | {"create":false,"data":{}} | Extra configMaps |
| extraSecrets | object | {"create":false,"data":{}} | Extra secrets |
| extraServices | object | {} | Extra services |
| extraVolumeMounts | list | [] | Extra volumes to mount |
| extraVolumes | list | [] | Extra volumes |
| global | object | {"imagePullSecrets":[],"imageRegistry":""} | Globals settings |
| global.imagePullSecrets | list | [] | Global image pull secrets |
| global.imageRegistry | string | "" | Global image registry |
| matomo.automountServiceAccountToken | bool | false | Mount the service account token into Matomo pods. No workload in this chart uses the Kubernetes API; enable only if a custom sidecar needs it. |
| matomo.cli.enabled | bool | true | Enable the cli Deployment (runs supervisord for one-off console commands via kubectl exec). |
| matomo.cli.livenessProbe | object | {} | Liveness probe for the cli container (checks supervisord is running). |
| matomo.cli.readinessProbe | object | {} | Readiness probe for the cli container (checks supervisord is running). |
| matomo.cli.replicas | int | 1 | Number of replicas for the cli Deployment. |
| matomo.cli.resources | object | {"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Default resources for the Matomo cli container. |
| matomo.config | object | {} | Full install.json content, replacing the chart's built-in default when set. |
| matomo.cronJobs.coreArchive.activeDeadlineSeconds | int | 43200 | activeDeadlineSeconds for the core:archive Job. |
| matomo.cronJobs.coreArchive.command | string | "./console core:archive --disable-scheduled-tasks" | Command run by the core:archive CronJob. |
| matomo.cronJobs.coreArchive.concurrencyPolicy | string | "Allow" | concurrencyPolicy for the core:archive CronJob. |
| matomo.cronJobs.coreArchive.enabled | bool | true | Enable the core:archive CronJob. |
| matomo.cronJobs.coreArchive.labels | object | {"component":"cronjob","instance":"matomo","managedBy":"helm","name":"matomo-jobs-corearchive","partOf":"matomo"} | Labels applied to the coreArchive CronJob (name, instance, component, part-of, managed-by). |
| matomo.cronJobs.coreArchive.resources | object | {"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Default resources for the core:archive cronjob. |
| matomo.cronJobs.coreArchive.schedule | string | "*/60 * * * *" | Cron schedule for core:archive. |
| matomo.cronJobs.scheduledTasks.activeDeadlineSeconds | int | 43200 | activeDeadlineSeconds for the scheduled-tasks Job. |
| matomo.cronJobs.scheduledTasks.command | string | "./console scheduled-tasks:run" | Command run by the scheduled-tasks CronJob. |
| matomo.cronJobs.scheduledTasks.enabled | bool | true | Enable the scheduled-tasks CronJob. |
| matomo.cronJobs.scheduledTasks.labels | object | {"component":"cronjob","instance":"matomo","managedBy":"helm","name":"matomo-jobs-scheduled-tasks","partOf":"matomo"} | Labels applied to the scheduledTasks CronJob (name, instance, component, part-of, managed-by). |
| matomo.cronJobs.scheduledTasks.php | string | nil | PHP configuration overrides for the scheduled-tasks CronJob. |
| matomo.cronJobs.scheduledTasks.resources | object | {"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Default resources for the scheduled-tasks cronjob. |
| matomo.cronJobs.scheduledTasks.schedule | string | "*/60 * * * *" | Cron schedule for scheduled-tasks:run. |
| matomo.dashboard.enabled | bool | true | Enable the dashboard Deployment and Service. |
| matomo.dashboard.exporter | object | {"enabled":true,"image":"","livenessProbe":{},"readinessProbe":{},"resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"15m","memory":"32Mi"}}} | php-fpm_exporter (fpm-metrics) sidecar for the dashboard pod. |
| matomo.dashboard.exporter.enabled | bool | true | Enable the dashboard php-fpm_exporter (fpm-metrics) sidecar and its metrics port on the matomo-dashboard Service. |
| matomo.dashboard.exporter.image | string | "" | Override the php-fpm_exporter image used for the dashboard (falls back to matomo.exporterImage when empty). |
| matomo.dashboard.exporter.livenessProbe | object | {} | Liveness probe for the dashboard php-fpm_exporter (fpm-metrics) container. |
| matomo.dashboard.exporter.readinessProbe | object | {} | Readiness probe for the dashboard php-fpm_exporter (fpm-metrics) container. |
| matomo.dashboard.exporter.resources | object | {"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"15m","memory":"32Mi"}} | Default resources for the dashboard php-fpm_exporter (fpm-metrics) container. |
| matomo.dashboard.firstuser | object | {"email":"[email protected]","password":"admin123","username":"admin"} | Credentials for the first (super)user, applied by the init container on install. |
| matomo.dashboard.hostname | string | "my.host" | Hostname used for the dashboard Ingress/HTTPRoute rule. |
| matomo.dashboard.ingress.annotations | object | {"digitalist.cloud/instance":"matomo"} | Extra annotations for the dashboard Ingress. |
| matomo.dashboard.ingressClassName | string | "" | ingressClassName for the dashboard Ingress. |
| matomo.dashboard.loadbalancer | bool | false | Create a LoadBalancer Service for the dashboard, used as the Ingress/HTTPRoute backend when true. |
| matomo.dashboard.nginx.conf | string | "" | Override the full dashboard nginx configuration (nginx.conf, fastcgi_params, mime.types). As: conf: nginx.conf: |
| matomo.dashboard.nginx.image | string | "" | Override the nginx image used for the dashboard (falls back to nginx.image when empty). |
| matomo.dashboard.nginx.livenessProbe | object | {} | Liveness probe for the dashboard nginx container. |
| matomo.dashboard.nginx.nginxWorkerProcesses | int | 5 | Worker process count for the dashboard nginx. |
| matomo.dashboard.nginx.readinessProbe | object | {} | Readiness probe for the dashboard nginx container. |
| matomo.dashboard.replicas | int | 1 | Number of replicas for the dashboard Deployment. |
| matomo.dashboard.secretName | string | "" | Existing TLS secret name for the dashboard ingress. |
| matomo.dashboard.sidecars | list | [] | Extra containers to run alongside the dashboard pod. Added like this: sidecars: - name: fpm-metrics image: hipages/php-fpm_exporter:2.2.0 imagePullPolicy: IfNotPresent resources: limits: cpu: 500m memory: 256Mi requests: cpu: 40m memory: 32Mi |
| matomo.dashboard.tls | bool | false | Add a TLS block to the dashboard Ingress for hostname. |
| matomo.dashboard.whitelist | list | [] | List of CIDRs allowed to reach the dashboard Ingress (nginx.ingress.kubernetes.io/whitelist-source-range). Empty disables the restriction. |
| matomo.env | list | [] | Env variables to inject, if any. |
| matomo.exporterImage | string | "hipages/php-fpm_exporter:2.2.0" | Image for the php-fpm_exporter (fpm-metrics) sidecar shared by the dashboard and tracker pods. Override per-workload via matomo.dashboard.exporter.image / matomo.tracker.exporter.image. |
| matomo.extralabels | object | {} | Extra labels applied to Matomo pods (dashboard, tracker, cli, cronjobs, queuedtracking). |
| matomo.gatewayApi | object | {"enabled":false,"extralabels":{},"parentRefs":[]} | Gateway API support. When enabled, HTTPRoutes are created for the dashboard and tracker (using their hostname values) instead of - or alongside - the Ingress resources. Requires the Gateway API CRDs and a Gateway; TLS is terminated on the Gateway listener, not in the chart. |
| matomo.gatewayApi.extralabels | object | {} | Extra labels for the HTTPRoutes. |
| matomo.gatewayApi.parentRefs | list | [] | parentRefs applied to all HTTPRoutes, e.g.: parentRefs: - name: my-gateway namespace: my-namespace sectionName: http |
| matomo.image | string | "digitalist/matomo:5.12.0" | Which image to use for Matomo deployment. |
| matomo.imagePullSecrets | list | [] | Image pull secrets for Matomo. |
| matomo.imageRegistry | string | "" | Image registry to use. |
| matomo.ingress.annotations | object | {} | Extra annotations applied to both the dashboard and tracker Ingress resources. |
| matomo.ingress.enabled | bool | true | Create Ingress resources for the dashboard and tracker. |
| matomo.ingress.extralabels | object | {} | Extra labels for the dashboard and tracker Ingress resources. |
| matomo.initResources | object | {"limits":{"cpu":"200m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Resources for the shared matomo-init init container (runs on every workload: dashboard, tracker, cli, cronjobs, queuedtracking, pre-upgrade and post-install Jobs). |
| matomo.installCommand | string | "./console plugin:activate ExtraTools && ./console matomo:install --install-file=/tmp/matomo/install.json --force --do-not-drop-db" | Install command. If already installed, it just creates the needed config. |
| matomo.license | string | nil | Reference to a secret holding a premium plugin license, if any. |
| matomo.livenessProbe | object | {} | Liveness probe for the Matomo php-fpm containers (dashboard, tracker). |
| matomo.php | string | nil | php.ini overrides for the dashboard and core:archive php-fpm containers. |
| matomo.phpfpm | string | nil | php-fpm pool tuning for the dashboard's php-fpm container. |
| matomo.postInstallCommand | string | "" | Command to run in a post-install Job. The Job (and its resources) is only created when this is non-empty. |
| matomo.postInstallResources | object | {"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Default resources for the post-install Job container. |
| matomo.postInstallSleepTime | int | 5 | Seconds the post-install Job sleeps before running postInstallCommand (gives Matomo time to finish bootstrapping). |
| matomo.preUpgradeCommand | string | "" | Command to run in a pre-upgrade Job. The Job (and its resources) is only created when this is non-empty. |
| matomo.preUpgradeResources | object | {"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Default resources for the pre-upgrade Job container. |
| matomo.preUpgradeSleepTime | int | 5 | Seconds the pre-upgrade Job sleeps before running preUpgradeCommand. |
| matomo.queuedTrackingMonitor.enabled | bool | true | Enable the queuedtracking:monitor Deployment. |
| matomo.queuedTrackingMonitor.livenessProbe | object | {} | Liveness probe for the queuedtracking-monitor container (checks supervisord is running). |
| matomo.queuedTrackingMonitor.readinessProbe | object | {} | Readiness probe for the queuedtracking-monitor container (checks supervisord is running). |
| matomo.queuedTrackingMonitor.replicas | int | 1 | Number of replicas for the queuedtracking-monitor Deployment. |
| matomo.queuedTrackingMonitor.resources | object | {"limits":{"cpu":"500m","memory":"180Mi"},"requests":{"cpu":"300m","memory":"128Mi"}} | Default resources for the queuedtracking-monitor container. |
| matomo.queuedTrackingProcess.enabled | bool | false | Enable the queuedtracking:process worker deployment. Required when QueuedTracking runs with processDuringTrackingRequest disabled. |
| matomo.queuedTrackingProcess.livenessProbe | object | {} | Liveness probe for the queuedtracking-process container (checks supervisord is running). Overriding replaces the default entirely. Example: livenessProbe: exec: command: - /bin/sh - -c - "ps -A |
| matomo.queuedTrackingProcess.numProcs | int | 1 | Number of supervisord worker processes for queuedtracking:process per pod. |
| matomo.queuedTrackingProcess.readinessProbe | object | {} | Readiness probe for the queuedtracking-process container (checks supervisord is running). |
| matomo.queuedTrackingProcess.replicas | int | 1 | Number of replicas for the queuedtracking-process Deployment. |
| matomo.queuedTrackingProcess.resources | object | {"limits":{"cpu":"1","memory":"220Mi"},"requests":{"cpu":"250m","memory":"128Mi"}} | Default resources for the queuedtracking-process container. |
| matomo.readinessProbe | object | {} | Readiness probe for the Matomo php-fpm containers (dashboard, tracker). |
| matomo.resources | object | {"limits":{"cpu":"2000m","memory":"4Gi"},"requests":{"cpu":"500m","memory":"512Mi"}} | Default resources for the Matomo p |
Deploy matomo with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has matomo 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmatomo is pinned at v13.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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