Why Averaging Risk Scores Hides Kubernetes Problems

Published 2026-11-29 · Updated

Averaging risk across a namespace lets many healthy workloads mask one severe weakness. Ranking by the worst criticality score, with named findings, surfaces the problem that would actually cause an outage.

A common way to score a namespace is to average its resources. It looks reasonable and it is misleading.

The dilution problem

Suppose a namespace has 20 workloads. Nineteen are well configured. One is a single-replica service that everything else calls. Compute a SPOF density and you get 1 in 20, or 5%. The namespace looks healthy.

But the outage risk is not shared evenly. It is concentrated in the one service. Averages treat risk as additive, while failures behave more like a chain: the weakest link decides the outcome.

A better rule

Rank by the maximum criticality in the namespace, then list the findings behind it. Kubilitics does this: the namespace score takes the highest RPN criticality score among its resources and then adds SPOF, PodDisruptionBudget and HPA signals, with the named resources and reasons attached.

In testing against a real cluster, coredns (a Deployment with two replicas, no PDB and no HPA) moved its namespace to the top of the ranking, with the score matching its own criticality exactly. Under the averaged scheme it had barely registered.

Why this matters for reviews

A ranking that names which resource and why is actionable. “kube-system: 18.5, coredns, no PDB, no HPA” starts a conversation. “kube-system: 92% healthy” ends one.

Read more: risk ranking and how criticality is scored.

Frequently asked questions

When is an average appropriate?

For trend reporting over time or capacity planning, averages are useful. For deciding what to fix first, worst-case is safer.