zammad: add resource limits for zammad processes
This commit is contained in:
parent
52b4fbead7
commit
5082458eb6
1 changed files with 21 additions and 13 deletions
|
@ -56,7 +56,6 @@ spec:
|
|||
capabilities:
|
||||
add: ["SYS_CHROOT"]
|
||||
|
||||
#image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: "64Mi"
|
||||
|
@ -223,6 +222,13 @@ spec:
|
|||
command:
|
||||
- /docker-entrypoint.sh
|
||||
- zammad-railsserver
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
# Wait for 10 minutes to get ready
|
||||
# startupProbe:
|
||||
# httpGet:
|
||||
|
@ -314,21 +320,16 @@ spec:
|
|||
value: "localhost:11211"
|
||||
- name: ELASTICSEARCH_HOST
|
||||
value: "{{ .Release.Name }}-elasticsearch"
|
||||
# - name: ZAMMAD_TRUSTED_DOMAINS
|
||||
# value: "{{ tpl .Values.fqdn . }}"
|
||||
# - name: ZAMMAD_ADMIN_USER
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: {{ tpl .Values.identifier . }}-zammad
|
||||
# key: USERNAME
|
||||
# - name: ZAMMAD_ADMIN_PASSWORD
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: {{ tpl .Values.identifier . }}-zammad
|
||||
# key: PASSWORD
|
||||
volumeMounts:
|
||||
- name: zammad-data
|
||||
mountPath: "/opt/zammad"
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
- name: zammad-websocket
|
||||
image: zammad/zammad-docker-compose:zammad-{{ .Chart.AppVersion }}
|
||||
command:
|
||||
|
@ -377,6 +378,13 @@ spec:
|
|||
ports:
|
||||
- containerPort: 6042
|
||||
name: websocket
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
volumes:
|
||||
- name: etcletsencrypt
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Reference in a new issue