Skip to content

Commit a39a43b

Browse files
Add more resources to matomo (#204)
1 parent 24a9d99 commit a39a43b

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

Diff for: helm/matomo/values.yaml

+61
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,40 @@ mariadb:
55
database: matomo
66
username: matomo
77
password: YOUR_MATOMO_PASSWORD
8+
primary:
9+
resources:
10+
limits:
11+
cpu: 200m
12+
memory: 256Mi
13+
requests:
14+
cpu: 100m
15+
memory: 128Mi
16+
17+
# Set number of replicas to 1 to avoid multi-attach volume errors
18+
replicaCount: 1
19+
20+
# Configure CronJobs
21+
cronJobs:
22+
archive:
23+
enabled: true
24+
schedule: "*/15 * * * *" # Run every 15 minutes instead of every 5
25+
resources:
26+
limits:
27+
cpu: 100m
28+
memory: 128Mi
29+
requests:
30+
cpu: 50m
31+
memory: 64Mi
32+
scheduled_tasks:
33+
enabled: true
34+
schedule: "*/15 * * * *" # Run every 15 minutes instead of every 5
35+
resources:
36+
limits:
37+
cpu: 100m
38+
memory: 128Mi
39+
requests:
40+
cpu: 50m
41+
memory: 64Mi
842

943
service:
1044
type: NodePort
@@ -16,6 +50,7 @@ service:
1650
ingress:
1751
enabled: true
1852
hostname: matomo.videocall.rs
53+
pathType: ImplementationSpecific
1954
annotations:
2055
kubernetes.io/ingress.class: nginx
2156
cert-manager.io/issuer: letsencrypt-prod
@@ -24,3 +59,29 @@ ingress:
2459
- hosts:
2560
- matomo.videocall.rs
2661
secretName: matomo-tls
62+
63+
# Security settings for Matomo 9.1.0+
64+
global:
65+
security:
66+
allowInsecureImages: false
67+
68+
# Persistence settings to make sure data is retained
69+
persistence:
70+
enabled: true
71+
72+
# Default Matomo admin credentials
73+
matomoUsername: admin
74+
matomoPassword: YOUR_ADMIN_PASSWORD
75+
76+
# Resource settings for Matomo
77+
resources:
78+
limits:
79+
cpu: 500m
80+
memory: 768Mi
81+
requests:
82+
cpu: 200m
83+
memory: 384Mi
84+
85+
# Disable any automatic updates to ensure stability
86+
updateStrategy:
87+
type: Recreate

0 commit comments

Comments
 (0)