fix cpu quota for fastapi deploy
This commit is contained in:
@@ -21,10 +21,10 @@ spec:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "1m"
|
cpu: "5m"
|
||||||
memory: "32Mi"
|
memory: "32Mi"
|
||||||
limits:
|
limits:
|
||||||
cpu: "5m"
|
cpu: "10m"
|
||||||
memory: "64Mi"
|
memory: "64Mi"
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -21,6 +21,15 @@ spec:
|
|||||||
name: postgres-secret # lozinke iz Secreta
|
name: postgres-secret # lozinke iz Secreta
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "50m"
|
||||||
|
memory: "64Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "100m"
|
||||||
|
memory: "128Mi"
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: postgres-data
|
- name: postgres-data
|
||||||
mountPath: /var/lib/postgresql/data
|
mountPath: /var/lib/postgresql/data
|
||||||
|
|||||||
Reference in New Issue
Block a user