Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Text File Validation
Commits
5953f7be
Commit
5953f7be
authored
Feb 01, 2021
by
Matthias
Browse files
add k8s resource restrictions
parent
466fd4ef
Pipeline
#20965
passed with stages
in 4 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
helm-charts/templates/job.yaml
View file @
5953f7be
...
...
@@ -13,6 +13,14 @@ spec:
containers
:
-
name
:
"
text-file-validation-{{
.Values.sessionId
}}"
image
:
"
{{
.Values.registry
}}/{{
.Values.image
}}:{{
.Values.tag
}}"
args
:
[
"
-Xms64m"
,
"
-Xmx256g"
,
"
-jar"
,
"
/app/app.jar"
]
resources
:
requests
:
cpu
:
"
0.2"
memory
:
"
128Mi"
limits
:
cpu
:
"
0.5"
memory
:
"
300Mi"
envFrom
:
-
secretRef
:
name
:
"
{{
.Values.sftpConfigs
}}"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment