k8s: add resource limits to deployments
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
7d1d1d6614
commit
3ae9448346
7 changed files with 49 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue