✨ add CPU and MEMORY limit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user