File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ layout : wiki
33title : k8s
44summary : Kubernetes
55date : 2020-02-18 14:45:23 +0900
6- updated : 2023-01-16 16:29:21 +0900
6+ updated : 2023-01-19 11:08:01 +0900
77tags : k8s, kubernetes
88toc : true
99public : true
@@ -14,6 +14,13 @@ adsense : true
1414* TOC
1515{: toc }
1616
17+ ## k8s 에서 JVM 메모리 설정
18+
19+ * Pod 의 Request / Limit 은 동일하게 설정한다.
20+ * jvm 의 heap memory 는 ` -XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=50.0 ` 로 설정하자.
21+ * 이유는 Pod 에서 jvm 이 사용하는 부분도 필요하지만, OS가 사용하는 file 캐싱 영역도 필요하기때문에 50% 설정하는게 적당.
22+ * 자세한건 다음글 참고 -> [컨테이너 환경에서의 java 애플리케이션의 리소스와 메모리 설정](https://findstar.pe.kr/2022/07/10/java-application-memory-size-on-container/)
23+
1724## Ingress
1825
1926* [ Kubernetes Ingress Controllers] ( https://docs.google.com/spreadsheets/d/191WWNpjJ2za6-nbG4ZoUMXMpUK8KlCIosvQB0f-oq3k/edit#gid=907731238 )
You can’t perform that action at this time.
0 commit comments