Unverified Commit eefc4026 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

set restrictions on resource use

parent fd1785c1
Pipeline #14730 passed with stages
in 13 minutes and 55 seconds
......@@ -20,6 +20,15 @@ spec:
- name: media-converter-container
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/media-converter:latest
imagePullPolicy: Always
command: ["java"]
args: ["-Xms128m", "-Xmx10g", "-jar", "/app/app.jar"]
resources:
requests:
cpu: "0.2"
memory: "1Gi"
limits:
cpu: "1"
memory: "11Gi"
volumeMounts:
- name: media-volume
mountPath: /data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment