k8s: add resource limits to deployments

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-22 09:35:30 -07:00
parent 7d1d1d6614
commit 3ae9448346
7 changed files with 49 additions and 0 deletions

View file

@ -13,6 +13,13 @@ spec:
image: emailservice
ports:
- containerPort: 5000
resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
---
apiVersion: v1
kind: Service