ARCHOS 525 BLUEPRINT · /d/dgm_int-autoscaler
Autoscaler Internals (HPA, KEDA Event Scaling & Karpenter Node Provisioning)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-autoscaler) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-autoscaler)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-autoscaler" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Autoscaler Internals (HPA, KEDA Event Scaling & Karpenter Node Provisioning) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Metrics & Queue Lag"]
n1_1["HPA / KEDA Controller"]
n2a_2[("Stabilization Guard")]
n2b_3["Karpenter Provisioner"]
n3_4["Pod Disruption Budget"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Eval · PromQL"| n1_1
n1_1 -->|"2a. Dampen · Window"| n2a_2
n1_1 -.->|"2b. Launch · EC2 API"| n2b_3
n2a_2 -->|"3a. Drain safe · K8s"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Metrics & Queue LagSTATELESSCPU, RPS & Kafka Lag
- HPA / KEDA ControllerSTATELESSComputes desired replicas every 15s
- Stabilization GuardSTATEFULFast scale-up · 5m scale-down
- Karpenter ProvisionerSTATELESSBin-packs unschedulable pods -> VM
- Pod Disruption BudgetSTATELESSSafe consolidation & minAvailable
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Metrics & Queue Lag → HPA / KEDA Controller (Eval)[PromQL]
- HPA / KEDA Controller → Stabilization Guard (Dampen)[Window]
- HPA / KEDA Controller → Karpenter Provisioner (Launch)[EC2 API]
- Stabilization Guard → Pod Disruption Budget (Drain safe)[K8s]
- Karpenter Provisioner → Pod Disruption Budget (Sync)[Control]
- Pod Disruption Budget → Downstream & OTel (Emit /)[OTLP/API]