zammad resource limits
This commit is contained in:
parent
5082458eb6
commit
3bdcadb118
1 changed files with 15 additions and 10 deletions
|
@ -26,6 +26,13 @@ spec:
|
|||
- name: postgres-data
|
||||
mountPath: "/var/lib/postgresql/data"
|
||||
subPath: postgres
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "400m"
|
||||
volumes:
|
||||
- name: postgres-data
|
||||
persistentVolumeClaim:
|
||||
|
@ -51,20 +58,18 @@ spec:
|
|||
env:
|
||||
- name: discovery.type
|
||||
value: "single-node"
|
||||
# Required, because elasticsearch is using chroot()
|
||||
securityContext:
|
||||
capabilities:
|
||||
add: ["SYS_CHROOT"]
|
||||
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: "64Mi"
|
||||
# cpu: "100m"
|
||||
# limits:
|
||||
# memory: "128Mi"
|
||||
# cpu: "500m"
|
||||
add: ["SYS_CHROOT"] # Required, because elasticsearch is using chroot()
|
||||
ports:
|
||||
- containerPort: 9200
|
||||
resources:
|
||||
requests:
|
||||
memory: "1.2Gi"
|
||||
cpu: "400m"
|
||||
limits:
|
||||
memory: "3Gi"
|
||||
cpu: "2000m"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
Loading…
Reference in a new issue