Files
troubleshoot/pkg/analyze
3db6a99d3a feat(analyze): add countDistinct() aggregate to nodeResources (#2079)
Add a countDistinct(<labelKey>) aggregate to the nodeResources analyzer
"when" expression language. It counts distinct values of a node label
across the filtered nodes and returns an int the existing comparison
operators evaluate.

Enables the AIR-238 3-AZ preflight: warn when Keeper-eligible nodes do
not span 3 availability zones, e.g.
"countDistinct(topology.kubernetes.io/zone) < 3".

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Xav Paice <xavpaice@users.noreply.github.com>
2026-08-10 12:54:33 +12:00
..
2025-10-08 16:57:00 -05:00
2025-10-08 10:22:11 -07:00
2025-10-08 10:22:11 -07:00
2023-11-03 18:41:17 +05:30
2025-10-08 10:22:11 -07:00
2025-10-08 10:22:11 -07:00
2021-01-28 18:22:48 +00:00
2023-01-13 10:32:39 +00:00
2025-10-08 10:22:11 -07:00
2026-05-13 22:57:16 +01:00
2024-03-07 08:31:45 +13:00
2025-03-06 21:40:47 +00:00
2025-03-06 21:40:47 +00:00
2025-10-08 10:22:11 -07:00
2023-11-03 18:41:17 +05:30
2023-10-09 15:34:02 +01:00
2023-10-09 15:34:02 +01:00
2025-10-08 10:22:11 -07:00
2025-10-08 10:22:11 -07:00