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