rightsize: trim over-provisioned memory limits+requests (batch 1/N)
All checks were successful
ci/woodpecker/push/default Pipeline was successful
All checks were successful
ci/woodpecker/push/default Pipeline was successful
claude-breakglass 4Gi->512Mi, stirling-pdf 1536->512Mi, insta2spotify 2Gi->256Mi, recruiter-responder 768->256Mi. These idle/utility services had memory LIMITS sitting 4-15x above their 30d peak, inflating cluster limit-overcommit to 142% across the 5 post-node6 nodes. Burstable (request<limit), limits capped at ~peak x1.5 (never below peak), so no OOM risk (verified zero OOMKills cluster-wide in 30d). Reduces phantom limit overcommit + frees scheduler requests. Follows the 3-reviewer adversarial review: raising limits on an already-overcommitted cluster worsens correlated node-OOM; the real fix is trimming the fat. Limits only lowered where peak is far below; tuned/DB/GPU limits untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
4473b469e3
commit
5d059786a1
4 changed files with 8 additions and 8 deletions
|
|
@ -284,10 +284,10 @@ resource "kubernetes_deployment" "breakglass" {
|
||||||
resources {
|
resources {
|
||||||
requests = {
|
requests = {
|
||||||
cpu = "200m"
|
cpu = "200m"
|
||||||
memory = "512Mi"
|
memory = "320Mi"
|
||||||
}
|
}
|
||||||
limits = {
|
limits = {
|
||||||
memory = "4Gi"
|
memory = "512Mi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -178,11 +178,11 @@ resource "kubernetes_deployment" "insta2spotify" {
|
||||||
}
|
}
|
||||||
resources {
|
resources {
|
||||||
limits = {
|
limits = {
|
||||||
memory = "2Gi"
|
memory = "256Mi"
|
||||||
}
|
}
|
||||||
requests = {
|
requests = {
|
||||||
cpu = "50m"
|
cpu = "50m"
|
||||||
memory = "512Mi"
|
memory = "160Mi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -298,8 +298,8 @@ resource "kubernetes_deployment" "recruiter_responder" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
requests = { cpu = "100m", memory = "384Mi" }
|
requests = { cpu = "100m", memory = "192Mi" }
|
||||||
limits = { memory = "768Mi" }
|
limits = { memory = "256Mi" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -87,10 +87,10 @@ resource "kubernetes_deployment" "stirling-pdf" {
|
||||||
resources {
|
resources {
|
||||||
requests = {
|
requests = {
|
||||||
cpu = "25m"
|
cpu = "25m"
|
||||||
memory = "1536Mi"
|
memory = "320Mi"
|
||||||
}
|
}
|
||||||
limits = {
|
limits = {
|
||||||
memory = "1536Mi"
|
memory = "512Mi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue