rightsize: trim over-provisioned memory (batch 2/N)
Some checks failed
ci/woodpecker/push/default Pipeline was canceled

claude-agent-service 12Gi->3Gi (peak 585Mi — the single biggest fat, ~9Gi of limit-overcommit removed), job-hunter 1280->768Mi (kept chromium headroom; 30d peak 118Mi), fire-planner 1024->320Mi, wealthfolio 1Gi->512Mi (kept history-growth headroom). Burstable, limits kept >= generous peak headroom, never below peak. ~10.7Gi of limit overcommit removed. paperless-ai intentionally LEFT at 4Gi (documented in-process RAG model load).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-29 15:27:17 +00:00
parent a3f2c2947a
commit 418d1efb4b
4 changed files with 9 additions and 8 deletions

View file

@ -635,10 +635,10 @@ resource "kubernetes_deployment" "claude_agent" {
resources { resources {
requests = { requests = {
cpu = "1" cpu = "1"
memory = "2Gi" memory = "640Mi"
} }
limits = { limits = {
memory = "12Gi" memory = "3Gi"
} }
} }
} }

View file

@ -318,10 +318,10 @@ resource "kubernetes_deployment" "fire_planner" {
resources { resources {
requests = { requests = {
cpu = "100m" cpu = "100m"
memory = "512Mi" memory = "192Mi"
} }
limits = { limits = {
memory = "1024Mi" memory = "320Mi"
} }
} }
} }

View file

@ -271,11 +271,12 @@ resource "kubernetes_deployment" "job_hunter" {
resources { resources {
requests = { requests = {
cpu = "100m" cpu = "100m"
memory = "512Mi" memory = "256Mi"
} }
# Chromium baseline ~1Gi matches broker-sync precedent. # Chromium baseline ~1Gi matches broker-sync precedent.
# 30d peak only 118Mi (chromium rarely launched); keep 768Mi headroom.
limits = { limits = {
memory = "1280Mi" memory = "768Mi"
} }
} }
} }

View file

@ -208,10 +208,10 @@ resource "kubernetes_deployment" "wealthfolio" {
resources { resources {
requests = { requests = {
cpu = "10m" cpu = "10m"
memory = "256Mi" memory = "128Mi"
} }
limits = { limits = {
memory = "1Gi" memory = "512Mi"
} }
} }
} }