← worklog

2026-06-20

Diagnosing a cascade failure on our shared CI runner platform

EKSKarpenterPrometheusFluent BitIncident Response

What happened

Two new high-load build tenants onboarded to our shared CI runner platform on EKS. Over five to six days, that triggered a cascade: our log shipper started crashing dozens of times an hour under the new log volume, our metrics stack ran out of memory and went blind, ingress hit its CPU ceiling handling a backlog of pending pods, and node autoscaling couldn't provision capacity fast enough to relieve any of it.

Tracing the cascade

The failure chain, reconstructed after the fact:

  1. New tenants → sharp spike in concurrent build runners
  2. Higher log volume than the log shipper was sized for → it gets OOM-killed repeatedly, and audit logs start dropping
  3. Metrics collection OOMs next → autoscaling loses the signal it needs to scale
  4. Pods pile up pending → ingress burns CPU handling the backlog, hits its own ceiling
  5. The autoscaler's provisioning queue backs up faster than new nodes can join

The underlying lesson: resource limits and actual capacity aren't the same thing. The cluster autoscaler's configured limits were the ceiling that got hit — the account's real headroom was never the constraint, the autoscaler's own config just wasn't asking for it.

Stabilizing, then fixing the real problem

Emergency stabilization (memory limits raised on the log shipper and metrics stack, log retention cut to reduce volume) bought breathing room within hours. But the actual root cause wasn't technical — it was that both tenants onboarded through a standard request process with no load profile attached, and nobody, including me, asked for one before they went live in production.

The process fix

  • Load profile (expected peak concurrency, resource footprint, node types) now required before any high-load onboarding
  • A capacity review with the platform team happens before the production request lands, not after
  • Shared-component limits (log shipping, metrics, ingress) get checked against the combined load profile as part of that review
  • High-load onboardings ramp gradually — a fraction of capacity, observed for 24 hours, then scaled up — since staging load never reflects real production concurrency

Result

Platform stabilized within the week. Every onboarding since has included a load profile and gone through capacity review — zero repeat incidents of this shape.