✨ add CPU and MEMORY limit

This commit is contained in:
2024-07-24 15:06:07 +01:00
parent 2604d082c6
commit 1d74ec37ef
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -39,7 +39,10 @@ spec:
secretKeyRef: secretKeyRef:
name: nextcloud-credentials name: nextcloud-credentials
key: POSTGRES_PASSWORD key: POSTGRES_PASSWORD
resources:
limits:
cpu: 250m
memory: 500Mi
volumeMounts: volumeMounts:
# - name: pgdata # - name: pgdata
# mountPath: /var/lib/postgresql/data # mountPath: /var/lib/postgresql/data
+4 -1
View File
@@ -28,7 +28,10 @@ spec:
ports: ports:
- name: redis - name: redis
containerPort: 6379 containerPort: 6379
resources:
limits:
cpu: 100m
memory: 50Mi
volumes: volumes:
- name: redisdata - name: redisdata
hostPath: hostPath:
+4 -1
View File
@@ -44,7 +44,10 @@ spec:
# value: nextcloud.tryton.geeraert.eu # value: nextcloud.tryton.geeraert.eu
# initialDelaySeconds: 3 # initialDelaySeconds: 3
# periodSeconds: 3 # periodSeconds: 3
resources:
limits:
cpu: 250m
memory: 500Mi
volumeMounts: volumeMounts:
- name: nextcloud-webserver - name: nextcloud-webserver
mountPath: /var/www/html mountPath: /var/www/html