Helm chartv13.0.0App 5.14.1

A Helm chart for Matomo

About this chart

matomo

A Helm chart for Matomo

Values

KeyTypeDefaultDescription
db.hostnamestring"matomo-db-mysql"Database hostname.
db.namestring"matomo"Database name.
db.password.secretKeyRef.keystring"mysql-root-password"Key within the secret holding the database password.
db.password.secretKeyRef.namestring"matomo-db-mysql"Name of the secret holding the database password.
db.portint3306Database port.
db.prefixstring"matomo_"Table prefix.
db.usernamestring"root"Database username.
extraConfigMapsobject{"create":false,"data":{}}Extra configMaps
extraSecretsobject{"create":false,"data":{}}Extra secrets
extraServicesobject{}Extra services
extraVolumeMountslist[]Extra volumes to mount
extraVolumeslist[]Extra volumes
globalobject{"imagePullSecrets":[],"imageRegistry":""}Globals settings
global.imagePullSecretslist[]Global image pull secrets
global.imageRegistrystring""Global image registry
matomo.automountServiceAccountTokenboolfalseMount 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.enabledbooltrueEnable the cli Deployment (runs supervisord for one-off console commands via kubectl exec).
matomo.cli.livenessProbeobject{}Liveness probe for the cli container (checks supervisord is running).
matomo.cli.readinessProbeobject{}Readiness probe for the cli container (checks supervisord is running).
matomo.cli.replicasint1Number of replicas for the cli Deployment.
matomo.cli.resourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Default resources for the Matomo cli container.
matomo.configobject{}Full install.json content, replacing the chart's built-in default when set.
matomo.cronJobs.coreArchive.activeDeadlineSecondsint43200activeDeadlineSeconds for the core:archive Job.
matomo.cronJobs.coreArchive.commandstring"./console core:archive --disable-scheduled-tasks"Command run by the core:archive CronJob.
matomo.cronJobs.coreArchive.concurrencyPolicystring"Allow"concurrencyPolicy for the core:archive CronJob.
matomo.cronJobs.coreArchive.enabledbooltrueEnable the core:archive CronJob.
matomo.cronJobs.coreArchive.labelsobject{"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.resourcesobject{"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"100m","memory":"128Mi"}}Default resources for the core:archive cronjob.
matomo.cronJobs.coreArchive.schedulestring"*/60 * * * *"Cron schedule for core:archive.
matomo.cronJobs.scheduledTasks.activeDeadlineSecondsint43200activeDeadlineSeconds for the scheduled-tasks Job.
matomo.cronJobs.scheduledTasks.commandstring"./console scheduled-tasks:run"Command run by the scheduled-tasks CronJob.
matomo.cronJobs.scheduledTasks.enabledbooltrueEnable the scheduled-tasks CronJob.
matomo.cronJobs.scheduledTasks.labelsobject{"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.phpstringnilPHP configuration overrides for the scheduled-tasks CronJob.
matomo.cronJobs.scheduledTasks.resourcesobject{"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"100m","memory":"128Mi"}}Default resources for the scheduled-tasks cronjob.
matomo.cronJobs.scheduledTasks.schedulestring"*/60 * * * *"Cron schedule for scheduled-tasks:run.
matomo.dashboard.enabledbooltrueEnable the dashboard Deployment and Service.
matomo.dashboard.exporterobject{"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.enabledbooltrueEnable the dashboard php-fpm_exporter (fpm-metrics) sidecar and its metrics port on the matomo-dashboard Service.
matomo.dashboard.exporter.imagestring""Override the php-fpm_exporter image used for the dashboard (falls back to matomo.exporterImage when empty).
matomo.dashboard.exporter.livenessProbeobject{}Liveness probe for the dashboard php-fpm_exporter (fpm-metrics) container.
matomo.dashboard.exporter.readinessProbeobject{}Readiness probe for the dashboard php-fpm_exporter (fpm-metrics) container.
matomo.dashboard.exporter.resourcesobject{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"15m","memory":"32Mi"}}Default resources for the dashboard php-fpm_exporter (fpm-metrics) container.
matomo.dashboard.firstuserobject{"email":"[email protected]","password":"admin123","username":"admin"}Credentials for the first (super)user, applied by the init container on install.
matomo.dashboard.hostnamestring"my.host"Hostname used for the dashboard Ingress/HTTPRoute rule.
matomo.dashboard.ingress.annotationsobject{"digitalist.cloud/instance":"matomo"}Extra annotations for the dashboard Ingress.
matomo.dashboard.ingressClassNamestring""ingressClassName for the dashboard Ingress.
matomo.dashboard.loadbalancerboolfalseCreate a LoadBalancer Service for the dashboard, used as the Ingress/HTTPRoute backend when true.
matomo.dashboard.nginx.confstring""Override the full dashboard nginx configuration (nginx.conf, fastcgi_params, mime.types). As: conf: nginx.conf:
matomo.dashboard.nginx.imagestring""Override the nginx image used for the dashboard (falls back to nginx.image when empty).
matomo.dashboard.nginx.livenessProbeobject{}Liveness probe for the dashboard nginx container.
matomo.dashboard.nginx.nginxWorkerProcessesint5Worker process count for the dashboard nginx.
matomo.dashboard.nginx.readinessProbeobject{}Readiness probe for the dashboard nginx container.
matomo.dashboard.replicasint1Number of replicas for the dashboard Deployment.
matomo.dashboard.secretNamestring""Existing TLS secret name for the dashboard ingress.
matomo.dashboard.sidecarslist[]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.tlsboolfalseAdd a TLS block to the dashboard Ingress for hostname.
matomo.dashboard.whitelistlist[]List of CIDRs allowed to reach the dashboard Ingress (nginx.ingress.kubernetes.io/whitelist-source-range). Empty disables the restriction.
matomo.envlist[]Env variables to inject, if any.
matomo.exporterImagestring"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.extralabelsobject{}Extra labels applied to Matomo pods (dashboard, tracker, cli, cronjobs, queuedtracking).
matomo.gatewayApiobject{"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.extralabelsobject{}Extra labels for the HTTPRoutes.
matomo.gatewayApi.parentRefslist[]parentRefs applied to all HTTPRoutes, e.g.: parentRefs: - name: my-gateway namespace: my-namespace sectionName: http
matomo.imagestring"digitalist/matomo:5.12.0"Which image to use for Matomo deployment.
matomo.imagePullSecretslist[]Image pull secrets for Matomo.
matomo.imageRegistrystring""Image registry to use.
matomo.ingress.annotationsobject{}Extra annotations applied to both the dashboard and tracker Ingress resources.
matomo.ingress.enabledbooltrueCreate Ingress resources for the dashboard and tracker.
matomo.ingress.extralabelsobject{}Extra labels for the dashboard and tracker Ingress resources.
matomo.initResourcesobject{"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.installCommandstring"./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.licensestringnilReference to a secret holding a premium plugin license, if any.
matomo.livenessProbeobject{}Liveness probe for the Matomo php-fpm containers (dashboard, tracker).
matomo.phpstringnilphp.ini overrides for the dashboard and core:archive php-fpm containers.
matomo.phpfpmstringnilphp-fpm pool tuning for the dashboard's php-fpm container.
matomo.postInstallCommandstring""Command to run in a post-install Job. The Job (and its resources) is only created when this is non-empty.
matomo.postInstallResourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Default resources for the post-install Job container.
matomo.postInstallSleepTimeint5Seconds the post-install Job sleeps before running postInstallCommand (gives Matomo time to finish bootstrapping).
matomo.preUpgradeCommandstring""Command to run in a pre-upgrade Job. The Job (and its resources) is only created when this is non-empty.
matomo.preUpgradeResourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Default resources for the pre-upgrade Job container.
matomo.preUpgradeSleepTimeint5Seconds the pre-upgrade Job sleeps before running preUpgradeCommand.
matomo.queuedTrackingMonitor.enabledbooltrueEnable the queuedtracking:monitor Deployment.
matomo.queuedTrackingMonitor.livenessProbeobject{}Liveness probe for the queuedtracking-monitor container (checks supervisord is running).
matomo.queuedTrackingMonitor.readinessProbeobject{}Readiness probe for the queuedtracking-monitor container (checks supervisord is running).
matomo.queuedTrackingMonitor.replicasint1Number of replicas for the queuedtracking-monitor Deployment.
matomo.queuedTrackingMonitor.resourcesobject{"limits":{"cpu":"500m","memory":"180Mi"},"requests":{"cpu":"300m","memory":"128Mi"}}Default resources for the queuedtracking-monitor container.
matomo.queuedTrackingProcess.enabledboolfalseEnable the queuedtracking:process worker deployment. Required when QueuedTracking runs with processDuringTrackingRequest disabled.
matomo.queuedTrackingProcess.livenessProbeobject{}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.numProcsint1Number of supervisord worker processes for queuedtracking:process per pod.
matomo.queuedTrackingProcess.readinessProbeobject{}Readiness probe for the queuedtracking-process container (checks supervisord is running).
matomo.queuedTrackingProcess.replicasint1Number of replicas for the queuedtracking-process Deployment.
matomo.queuedTrackingProcess.resourcesobject{"limits":{"cpu":"1","memory":"220Mi"},"requests":{"cpu":"250m","memory":"128Mi"}}Default resources for the queuedtracking-process container.
matomo.readinessProbeobject{}Readiness probe for the Matomo php-fpm containers (dashboard, tracker).
matomo.resourcesobject{"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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmatomo is pinned at v13.0.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