Skip to content

The Unified and Autonomous Development Platform

reduce production memory usage

Robin Shenec84555100c3
diff --git a/k8s/production/memory-settings.yaml b/k8s/production/memory-settings.yaml
index 9ffe4bed6e..8f8aee2ae7 100644
--- a/k8s/production/memory-settings.yaml
+++ b/k8s/production/memory-settings.yaml
@@ -9,7 +9,7 @@ spec:
- name: onedev
resources:
requests:
- memory: 4Gi
+ memory: 2Gi
---
apiVersion: apps/v1
kind: Deployment
@@ -22,4 +22,4 @@ spec:
- name: mysql
resources:
requests:
- memory: 1Gi
+ memory: 500Mi