增加JVM堆内存设置

This commit is contained in:
万宸舜
2021-04-22 14:29:15 +08:00
parent 83f9da5d0a
commit 6259c24936

View File

@ -84,6 +84,15 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: JAVA_TOOL_OPTIONS
value:
-XX:+UnlockExperimentalVMOptions
-XX:+UseContainerSupport
-XX:+UseCGroupMemoryLimitForHeap
-XX:InitialRAMPercentage=40.0
-XX:MinRAMPercentage=20.0
-XX:MaxRAMPercentage=80.0
---
kind: Service
apiVersion: v1