From aa67df0371c7ae5639a175abb1aaff2b3d4f4a86 Mon Sep 17 00:00:00 2001 From: Nick Meyer Date: Thu, 17 Aug 2023 08:32:22 -0500 Subject: [PATCH 1/2] set requests so they aren't inferred to be the same as limits --- kustomize/overlays/production/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/kustomize/overlays/production/deployment.yaml b/kustomize/overlays/production/deployment.yaml index 3be86cc0..7934f410 100644 --- a/kustomize/overlays/production/deployment.yaml +++ b/kustomize/overlays/production/deployment.yaml @@ -25,4 +25,5 @@ spec: containerPort: 80 resources: limits: + requests: 100m cpu: 4000m \ No newline at end of file From ed22336e42713068204b58259b8e9ec30511815d Mon Sep 17 00:00:00 2001 From: Nick Meyer Date: Thu, 17 Aug 2023 08:35:52 -0500 Subject: [PATCH 2/2] syntax --- kustomize/overlays/production/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kustomize/overlays/production/deployment.yaml b/kustomize/overlays/production/deployment.yaml index 7934f410..40136609 100644 --- a/kustomize/overlays/production/deployment.yaml +++ b/kustomize/overlays/production/deployment.yaml @@ -24,6 +24,7 @@ spec: - name: install-scripts containerPort: 80 resources: + requests: + cpu: 100m limits: - requests: 100m cpu: 4000m \ No newline at end of file