lower cpu limits
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
|
||||||
metadata:
|
metadata:
|
||||||
name: fastapi-api
|
name: fastapi-api
|
||||||
namespace: student-antoniomaric1
|
namespace: student-antoniomaric1
|
||||||
|
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
|
|
||||||
@@ -21,14 +23,15 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: fastapi-api
|
- name: fastapi-api
|
||||||
|
|
||||||
image: vasic/fastapi-todo-api:1.0
|
image: vasic/fastapi-todo-api:1.0
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "50m"
|
cpu: "10m"
|
||||||
memory: "64Mi"
|
memory: "64Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "100m"
|
cpu: "50m"
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user