From d2927ce4bad957f0d3461abd7205e80bc756b96c Mon Sep 17 00:00:00 2001 From: zhenyus Date: Sat, 8 Mar 2025 20:31:11 +0800 Subject: [PATCH] fix: update resource requests and limits for multiple services to optimize performance Signed-off-by: zhenyus --- freeleaps/helm-pkg/authentication/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/authentication/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/centralStorage/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/centralStorage/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/chat/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/chat/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/content/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/content/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/devsvc/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/devsvc/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/freeleaps/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/freeleaps/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/frontend/values.alpha.yaml | 8 ++++---- freeleaps/helm-pkg/notification/values.alpha.yaml | 6 +++--- freeleaps/helm-pkg/notification/values.prod.yaml | 6 +++--- freeleaps/helm-pkg/payment/values.alpha.yaml | 6 +++--- 16 files changed, 49 insertions(+), 49 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/values.alpha.yaml b/freeleaps/helm-pkg/authentication/values.alpha.yaml index 71925c71..95316e8f 100644 --- a/freeleaps/helm-pkg/authentication/values.alpha.yaml +++ b/freeleaps/helm-pkg/authentication/values.alpha.yaml @@ -16,11 +16,11 @@ authentication: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: authentication-service diff --git a/freeleaps/helm-pkg/authentication/values.prod.yaml b/freeleaps/helm-pkg/authentication/values.prod.yaml index 15fa787b..482fd71f 100644 --- a/freeleaps/helm-pkg/authentication/values.prod.yaml +++ b/freeleaps/helm-pkg/authentication/values.prod.yaml @@ -16,11 +16,11 @@ authentication: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: authentication-service diff --git a/freeleaps/helm-pkg/centralStorage/values.alpha.yaml b/freeleaps/helm-pkg/centralStorage/values.alpha.yaml index a3095a11..be9ca40b 100644 --- a/freeleaps/helm-pkg/centralStorage/values.alpha.yaml +++ b/freeleaps/helm-pkg/centralStorage/values.alpha.yaml @@ -16,11 +16,11 @@ centralStorage: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: central-storage-service diff --git a/freeleaps/helm-pkg/centralStorage/values.prod.yaml b/freeleaps/helm-pkg/centralStorage/values.prod.yaml index 8eb9603e..e8d4623b 100644 --- a/freeleaps/helm-pkg/centralStorage/values.prod.yaml +++ b/freeleaps/helm-pkg/centralStorage/values.prod.yaml @@ -16,11 +16,11 @@ centralStorage: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: central-storage-service diff --git a/freeleaps/helm-pkg/chat/values.alpha.yaml b/freeleaps/helm-pkg/chat/values.alpha.yaml index 1976c1a0..6b814d08 100644 --- a/freeleaps/helm-pkg/chat/values.alpha.yaml +++ b/freeleaps/helm-pkg/chat/values.alpha.yaml @@ -16,11 +16,11 @@ chat: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: chat-service diff --git a/freeleaps/helm-pkg/chat/values.prod.yaml b/freeleaps/helm-pkg/chat/values.prod.yaml index 03bfe371..0852e33b 100644 --- a/freeleaps/helm-pkg/chat/values.prod.yaml +++ b/freeleaps/helm-pkg/chat/values.prod.yaml @@ -16,11 +16,11 @@ chat: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: chat-service diff --git a/freeleaps/helm-pkg/content/values.alpha.yaml b/freeleaps/helm-pkg/content/values.alpha.yaml index aed8bcf3..4becfebc 100644 --- a/freeleaps/helm-pkg/content/values.alpha.yaml +++ b/freeleaps/helm-pkg/content/values.alpha.yaml @@ -16,11 +16,11 @@ content: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: content-service diff --git a/freeleaps/helm-pkg/content/values.prod.yaml b/freeleaps/helm-pkg/content/values.prod.yaml index fb065697..587c6ce5 100644 --- a/freeleaps/helm-pkg/content/values.prod.yaml +++ b/freeleaps/helm-pkg/content/values.prod.yaml @@ -16,11 +16,11 @@ content: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: content-service diff --git a/freeleaps/helm-pkg/devsvc/values.alpha.yaml b/freeleaps/helm-pkg/devsvc/values.alpha.yaml index a484c522..38c9bba7 100644 --- a/freeleaps/helm-pkg/devsvc/values.alpha.yaml +++ b/freeleaps/helm-pkg/devsvc/values.alpha.yaml @@ -16,11 +16,11 @@ devsvc: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: devsvc-service diff --git a/freeleaps/helm-pkg/devsvc/values.prod.yaml b/freeleaps/helm-pkg/devsvc/values.prod.yaml index 10b4480b..26dcb4b2 100644 --- a/freeleaps/helm-pkg/devsvc/values.prod.yaml +++ b/freeleaps/helm-pkg/devsvc/values.prod.yaml @@ -16,11 +16,11 @@ devsvc: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: devsvc-service diff --git a/freeleaps/helm-pkg/freeleaps/values.alpha.yaml b/freeleaps/helm-pkg/freeleaps/values.alpha.yaml index 8378c81d..f7a7775e 100644 --- a/freeleaps/helm-pkg/freeleaps/values.alpha.yaml +++ b/freeleaps/helm-pkg/freeleaps/values.alpha.yaml @@ -16,11 +16,11 @@ freeleaps: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: freeleaps-service diff --git a/freeleaps/helm-pkg/freeleaps/values.prod.yaml b/freeleaps/helm-pkg/freeleaps/values.prod.yaml index 5955dfac..97d07988 100644 --- a/freeleaps/helm-pkg/freeleaps/values.prod.yaml +++ b/freeleaps/helm-pkg/freeleaps/values.prod.yaml @@ -16,11 +16,11 @@ freeleaps: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: freeleaps-service diff --git a/freeleaps/helm-pkg/frontend/values.alpha.yaml b/freeleaps/helm-pkg/frontend/values.alpha.yaml index 5bd3138a..f0ce265d 100644 --- a/freeleaps/helm-pkg/frontend/values.alpha.yaml +++ b/freeleaps/helm-pkg/frontend/values.alpha.yaml @@ -16,11 +16,11 @@ frontend: protocol: TCP resources: requests: - cpu: '100m' - memory: 128Mi + cpu: '50m' + memory: 32Mi limits: - cpu: '200m' - memory: 256Mi + cpu: '100m' + memory: 64Mi probes: {} services: - name: frontend-service diff --git a/freeleaps/helm-pkg/notification/values.alpha.yaml b/freeleaps/helm-pkg/notification/values.alpha.yaml index 9d3f204e..9ab81ed5 100644 --- a/freeleaps/helm-pkg/notification/values.alpha.yaml +++ b/freeleaps/helm-pkg/notification/values.alpha.yaml @@ -16,11 +16,11 @@ notification: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: notification-service diff --git a/freeleaps/helm-pkg/notification/values.prod.yaml b/freeleaps/helm-pkg/notification/values.prod.yaml index 4c50a9ce..aa1e6a9d 100644 --- a/freeleaps/helm-pkg/notification/values.prod.yaml +++ b/freeleaps/helm-pkg/notification/values.prod.yaml @@ -16,11 +16,11 @@ notification: protocol: TCP resources: requests: + cpu: 50m + memory: 64Mi + limits: cpu: 100m memory: 128Mi - limits: - cpu: 200m - memory: 256Mi probes: {} services: - name: notification-service diff --git a/freeleaps/helm-pkg/payment/values.alpha.yaml b/freeleaps/helm-pkg/payment/values.alpha.yaml index 3dc474e3..64693dd2 100644 --- a/freeleaps/helm-pkg/payment/values.alpha.yaml +++ b/freeleaps/helm-pkg/payment/values.alpha.yaml @@ -16,11 +16,11 @@ payment: protocol: TCP resources: requests: + cpu: '50m' + memory: 64Mi + limits: cpu: '100m' memory: 128Mi - limits: - cpu: '200m' - memory: 256Mi probes: {} services: - name: payment-service