From ae84c3d2598b52672a526103a2521f331b815f1e Mon Sep 17 00:00:00 2001 From: juvdiaz Date: Mon, 29 Jun 2026 21:07:01 -0600 Subject: [PATCH] Limit resource recommendations to Kubernetes apps --- infra/resource-recommendations.yml | 8 +++----- scripts/capacity-advisor | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/infra/resource-recommendations.yml b/infra/resource-recommendations.yml index 44d6051..a24fc8e 100644 --- a/infra/resource-recommendations.yml +++ b/infra/resource-recommendations.yml @@ -4,6 +4,9 @@ defaults: limit_cpu_multiplier: 4 limit_memory_multiplier: 2 +# Suggestion-only profiles for Kubernetes namespaces managed by the app pipeline. +# Host-level Docker Compose stacks such as infra/arr-stack are intentionally not +# listed here. namespaces: website-production: request_cpu_m: 75 @@ -20,11 +23,6 @@ namespaces: request_memory_mib: 128 limit_cpu_multiplier: 4 limit_memory_multiplier: 2 - arr-stack: - request_cpu_m: 150 - request_memory_mib: 512 - limit_cpu_multiplier: 3 - limit_memory_multiplier: 2 argocd: request_cpu_m: 100 request_memory_mib: 256 diff --git a/scripts/capacity-advisor b/scripts/capacity-advisor index 9f6c1b3..0877c05 100755 --- a/scripts/capacity-advisor +++ b/scripts/capacity-advisor @@ -38,7 +38,7 @@ worker_storage_warn = "worker storage" in lowered and "warn" in lowered non_system_control_plane = False control_plane_section = text.split("## control-plane", 1)[-1] for line in control_plane_section.splitlines(): - if re.match(r"\s*(argocd|website-production|demos-static|heimdall|arr-stack|security-lab|monitoring)\s+", line): + if re.match(r"\s*(argocd|website-production|demos-static|heimdall|security-lab|monitoring)\s+", line): non_system_control_plane = True break