Limit resource recommendations to Kubernetes apps

This commit is contained in:
juvdiaz 2026-06-29 21:07:01 -06:00
parent bf35a78658
commit ae84c3d259
2 changed files with 4 additions and 6 deletions

View File

@ -4,6 +4,9 @@ defaults:
limit_cpu_multiplier: 4 limit_cpu_multiplier: 4
limit_memory_multiplier: 2 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: namespaces:
website-production: website-production:
request_cpu_m: 75 request_cpu_m: 75
@ -20,11 +23,6 @@ namespaces:
request_memory_mib: 128 request_memory_mib: 128
limit_cpu_multiplier: 4 limit_cpu_multiplier: 4
limit_memory_multiplier: 2 limit_memory_multiplier: 2
arr-stack:
request_cpu_m: 150
request_memory_mib: 512
limit_cpu_multiplier: 3
limit_memory_multiplier: 2
argocd: argocd:
request_cpu_m: 100 request_cpu_m: 100
request_memory_mib: 256 request_memory_mib: 256

View File

@ -38,7 +38,7 @@ worker_storage_warn = "worker storage" in lowered and "warn" in lowered
non_system_control_plane = False non_system_control_plane = False
control_plane_section = text.split("## control-plane", 1)[-1] control_plane_section = text.split("## control-plane", 1)[-1]
for line in control_plane_section.splitlines(): 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 non_system_control_plane = True
break break