From ada80c434fbad1e8080e366b0672aea2447dbc07 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 26 Jun 2024 16:08:06 +1000 Subject: [PATCH] fix resource limits for prometheus and nexus --- kubernetes/apps/nexus/app/deployment.yaml | 2 +- kubernetes/infrastructure/prometheus/app/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes/apps/nexus/app/deployment.yaml b/kubernetes/apps/nexus/app/deployment.yaml index 5758d28..0b3b44a 100644 --- a/kubernetes/apps/nexus/app/deployment.yaml +++ b/kubernetes/apps/nexus/app/deployment.yaml @@ -22,7 +22,7 @@ spec: resources: limits: memory: "3Gi" - cpu: "500m" + cpu: "1" requests: memory: "2Gi" cpu: "500m" diff --git a/kubernetes/infrastructure/prometheus/app/deployment.yaml b/kubernetes/infrastructure/prometheus/app/deployment.yaml index 0e1e19a..1d71219 100644 --- a/kubernetes/infrastructure/prometheus/app/deployment.yaml +++ b/kubernetes/infrastructure/prometheus/app/deployment.yaml @@ -32,8 +32,8 @@ spec: cpu: 500m memory: 500M limits: - cpu: 1Gi - memory: 1Gi + cpu: "1" + memory: 2Gi volumeMounts: - name: prometheus-config-volume mountPath: /etc/prometheus/