Request less kubernetes resources
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 15 Oct 2019 11:19:48 +0200
changeset 121 7c0156c190cd
parent 120 164dcc5fee60
child 122 eee88e429e72
Request less kubernetes resources
deploy/deployment.yaml
--- a/deploy/deployment.yaml	Thu Sep 19 11:11:30 2019 +0200
+++ b/deploy/deployment.yaml	Tue Oct 15 11:19:48 2019 +0200
@@ -74,7 +74,7 @@
           ]
           resources:
             requests:
-              cpu: 500m
+              cpu: 50m
               memory: 500Mi
             limits:
               memory: 500Mi
@@ -89,10 +89,10 @@
               mountPath: /etc/cubicweb.d/fresh/data
           resources:
             requests:
-              cpu: 100m
-              memory: 50Mi
+              cpu: 5m
+              memory: 10Mi
             limits:
-              memory: 50Mi
+              memory: 10Mi
           readinessProbe:
             initialDelaySeconds: 5
             periodSeconds: 10
@@ -144,7 +144,7 @@
           ]
           resources:
             requests:
-              cpu: 100m
+              cpu: 50m
               memory: 250Mi
             limits:
               memory: 250Mi