Skip to content

Commit e2e4b62

Browse files
committed
updated resource quota in k8s
1 parent 61a928f commit e2e4b62

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

K8s/blog-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,21 +367,21 @@ spec:
367367
# CPU & MEMORY QUOTA (LIMIT TOTAL RESOURCE USAGE OF NAMESPACE)
368368
# ============================================================
369369

370-
requests.cpu: "4"
370+
requests.cpu: "2"
371371
# → Maximum total CPU *requested* by all pods in the namespace.
372372
# → Ensures developers cannot ask for more than 4 total CPUs.
373373
# → Helps scheduler allocate resources properly.
374374

375-
limits.cpu: "8"
375+
limits.cpu: "4"
376376
# → Maximum total CPU *limit* allowed across namespace.
377377
# → Prevents pods from consuming more than 8 CPUs combined.
378378
# → Protects node from being overloaded.
379379

380-
requests.memory: "8Gi"
380+
requests.memory: "4Gi"
381381
# → Total memory that all pods can *request*.
382382
# → Prevents apps from asking too much guaranteed RAM.
383383

384-
limits.memory: "16Gi"
384+
limits.memory: "8Gi"
385385
# → Maximum memory that all pods can consume combined.
386386
# → Prevents memory spikes that can crash the node.
387387

0 commit comments

Comments
 (0)