From 781f86d18ceaaccfe7a58e7eab6ddaddc0f42b1a Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Mon, 2 Nov 2020 14:57:39 -0500 Subject: [PATCH] deploy: add memory limits This is the beginning of a change to add cpu/memory limits to our pods. We are doing this because some consumers require this, and it is generally a good practice. The limits == requests for "Guaranteed" QoS. Signed-off-by: Andrew Keesler --- deploy/concierge/deployment.yaml | 2 ++ deploy/supervisor/deployment.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deploy/concierge/deployment.yaml b/deploy/concierge/deployment.yaml index d8e8c071..53137169 100644 --- a/deploy/concierge/deployment.yaml +++ b/deploy/concierge/deployment.yaml @@ -102,6 +102,8 @@ spec: resources: requests: memory: "128Mi" + limits: + memory: "128Mi" args: - --config=/etc/config/pinniped.yaml - --downward-api-path=/etc/podinfo diff --git a/deploy/supervisor/deployment.yaml b/deploy/supervisor/deployment.yaml index 8f91610d..788645f0 100644 --- a/deploy/supervisor/deployment.yaml +++ b/deploy/supervisor/deployment.yaml @@ -81,6 +81,8 @@ spec: resources: requests: memory: "128Mi" + limits: + memory: "128Mi" volumeMounts: - name: config-volume mountPath: /etc/config