From 0ae5ea47ca125686c64598ab319f07ab41c04bf2 Mon Sep 17 00:00:00 2001 From: xpadev Date: Thu, 29 Aug 2024 23:24:40 +0900 Subject: [PATCH 1/2] fix: update resources limit to actual --- kubernetes/mattermost/mattermost.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kubernetes/mattermost/mattermost.yml b/kubernetes/mattermost/mattermost.yml index e283c2d..fc2058d 100644 --- a/kubernetes/mattermost/mattermost.yml +++ b/kubernetes/mattermost/mattermost.yml @@ -78,12 +78,12 @@ spec: protocol: TCP resources: limits: - cpu: 500m - memory: 2Gi + cpu: 1000m + memory: 4Gi ephemeral-storage: 4096Mi requests: - cpu: 500m - memory: 2Gi + cpu: 1000m + memory: 4Gi ephemeral-storage: 4096Mi readinessProbe: timeoutSeconds: 5 From 62f1f41f02bf5f7fef68aa6382565ba1cecf8caa Mon Sep 17 00:00:00 2001 From: xpadev Date: Thu, 29 Aug 2024 23:57:18 +0900 Subject: [PATCH 2/2] fix: remove resource request from init container --- kubernetes/mattermost/mattermost.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/kubernetes/mattermost/mattermost.yml b/kubernetes/mattermost/mattermost.yml index fc2058d..f03a7a9 100644 --- a/kubernetes/mattermost/mattermost.yml +++ b/kubernetes/mattermost/mattermost.yml @@ -47,15 +47,6 @@ spec: secretKeyRef: name: gcp-secret-env key: MATTERMOST_TOKEN - resources: - limits: - cpu: 1000m - memory: 4Gi - ephemeral-storage: 4096Mi - requests: - cpu: 1000m - memory: 4Gi - ephemeral-storage: 4096Mi command: [ "/usr/bin/bash", "-c",