• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / karpenter / 28923281620

08 Jul 2026 06:34AM UTC coverage: 82.113% (+0.003%) from 82.11%
28923281620

Pull #3015

github

praveen9354
refactor(metrics): rename pod disruption counter to disruption_initiated_total

Reviewer prefers "disruption_initiated_total" over "disrupted_total" for
the pod-level counter: pods are not yet disrupted at the point the
counter is incremented; what has been initiated is the disruption of the
underlying nodeclaim, and the counter records the reschedulable pod
count at that moment. NodeClaimsDisruptedTotal is left unchanged — the
per-nodeclaim semantic is unambiguous and already shipped.

- PodsDisruptedTotal -> PodsDisruptionInitiatedTotal
- karpenter_pods_disrupted_total -> karpenter_pods_disruption_initiated_total
- Help string updated to describe pod disruptions initiated
- Emit sites (queue, health, expiration, garbagecollection) and the
  expiration suite reference the renamed identifier.

Signed-off-by: praveen9354 <praveen9354@gmail.com>
Pull Request #3015: feat(metrics): add karpenter_pods_disrupted_total counter

44 of 52 new or added lines in 8 files covered. (84.62%)

16311 of 19864 relevant lines covered (82.11%)

98097.49 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.19
/pkg/utils/node/node.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc