diff --git a/apps/zammad/templates/deployment.yaml b/apps/zammad/templates/deployment.yaml index 64d10c1..7ab3d5f 100644 --- a/apps/zammad/templates/deployment.yaml +++ b/apps/zammad/templates/deployment.yaml @@ -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