Commit b93e459c authored by harshit aggarwal's avatar harshit aggarwal
Browse files

adding java_opts

parent c1914ff5
Pipeline #26849 passed with stages
in 18 minutes and 44 seconds
FROM openjdk:8-jre-alpine
COPY ${JAR_FILE} app.jar
ENTRYPOINT exec java $JAVA_OPTS -jar /app.jar
\ No newline at end of file
......@@ -114,3 +114,5 @@ spec:
value: "32"
- name: max_lock_renew_duration_seconds
value: "2000"
- name: JAVA_OPTS
value: "-XX:InitialRAMPercentage=25.0 -XX:MaxRAMPercentage=50.0"
\ No newline at end of file
Supports Markdown
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