cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit b2b61f5a108134ec022c3d8cbb9aa656b9e6e997
parent 682f914f346dffccee7c6f6677d07a5f6a771894
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Wed,  1 Oct 2025 20:42:37 +0200

Fix caching

Diffstat:
Mapps/talos_cluster/mailserver/mailman.yaml | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/apps/talos_cluster/mailserver/mailman.yaml b/apps/talos_cluster/mailserver/mailman.yaml @@ -61,6 +61,13 @@ spec: containerPort: 8001 - name: lmtp containerPort: 8024 + resources: + requests: + memory: "256Mi" + cpu: "100m" + limits: + memory: "512Mi" + cpu: "500m" env: - name: DATABASE_URL valueFrom: @@ -127,6 +134,13 @@ spec: containerPort: 8000 - name: uwsgi containerPort: 8080 + resources: + requests: + memory: "512Mi" + cpu: "200m" + limits: + memory: "1Gi" + cpu: "1000m" #command: # - tail #args: @@ -212,6 +226,10 @@ spec: - name: mailman-extra mountPath: /usr/bin/chown subPath: chown + - name: django-cache + mountPath: /opt/mailman-web-data/diskcache + - name: static-cache + mountPath: /opt/mailman-web-data/static/CACHE - name: redis image: redis:7-alpine imagePullPolicy: IfNotPresent @@ -252,6 +270,13 @@ spec: ports: - name: http containerPort: 9090 + resources: + requests: + memory: "64Mi" + cpu: "50m" + limits: + memory: "256Mi" + cpu: "200m" startupProbe: httpGet: path: /mailman3/lists/ @@ -287,6 +312,9 @@ spec: - name: mailman-web mountPath: /opt/mailman-web-data readOnly: true + - name: static-cache + mountPath: /opt/mailman-web-data/static/CACHE + readOnly: true - name: nginx-config mountPath: /etc/nginx/nginx.conf subPath: nginx.conf @@ -330,6 +358,10 @@ spec: emptyDir: {} - name: redis-data emptyDir: {} + - name: django-cache + emptyDir: {} + - name: static-cache + emptyDir: {} - name: mailman-opt persistentVolumeClaim: claimName: mailman-opt-mailman-0 # Existing PVC from StatefulSet