Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packs/gradle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ENV PORT 8080
EXPOSE 8080
COPY build/libs/*.jar /opt/app.jar
WORKDIR /opt
CMD ["java", "-jar", "app.jar"]
ENTRYPOINT exec java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap $JAVA_OPTS -jar app.jar
6 changes: 3 additions & 3 deletions packs/gradle/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ service:
fabric8.io/ingress.annotations: "kubernetes.io/ingress.class: nginx"
resources:
limits:
cpu: 500m
memory: 512Mi
cpu: 1800m
memory: 768Mi
requests:
cpu: 400m
cpu: 600m
memory: 512Mi
probePath: /actuator/health
livenessProbe:
Expand Down
3 changes: 2 additions & 1 deletion packs/maven/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ COPY pom.xml target/lib* /opt/lib/
# we could do with a better way to know the name - or to always create an app.jar or something
COPY target/*.jar /opt/app.jar
WORKDIR /opt
CMD ["java", "-jar", "app.jar"]

ENTRYPOINT exec java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap $JAVA_OPTS -jar app.jar
6 changes: 3 additions & 3 deletions packs/maven/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ service:
fabric8.io/ingress.annotations: "kubernetes.io/ingress.class: nginx"
resources:
limits:
cpu: 500m
memory: 512Mi
cpu: 1800m
memory: 768Mi
requests:
cpu: 400m
cpu: 600m
memory: 512Mi
probePath: /actuator/health
livenessProbe:
Expand Down