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
|
- name: postgres-data
|
||||||
mountPath: "/var/lib/postgresql/data"
|
mountPath: "/var/lib/postgresql/data"
|
||||||
subPath: postgres
|
subPath: postgres
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "64Mi"
|
||||||
|
cpu: "100m"
|
||||||
|
limits:
|
||||||
|
memory: "256Mi"
|
||||||
|
cpu: "400m"
|
||||||
volumes:
|
volumes:
|
||||||
- name: postgres-data
|
- name: postgres-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
@ -51,20 +58,18 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: discovery.type
|
- name: discovery.type
|
||||||
value: "single-node"
|
value: "single-node"
|
||||||
# Required, because elasticsearch is using chroot()
|
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
add: ["SYS_CHROOT"]
|
add: ["SYS_CHROOT"] # Required, because elasticsearch is using chroot()
|
||||||
|
|
||||||
# resources:
|
|
||||||
# requests:
|
|
||||||
# memory: "64Mi"
|
|
||||||
# cpu: "100m"
|
|
||||||
# limits:
|
|
||||||
# memory: "128Mi"
|
|
||||||
# cpu: "500m"
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9200
|
- containerPort: 9200
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "1.2Gi"
|
||||||
|
cpu: "400m"
|
||||||
|
limits:
|
||||||
|
memory: "3Gi"
|
||||||
|
cpu: "2000m"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
Loading…
Reference in a new issue