﻿# KueueViz now counts PodSets rather than Pods in the first set

PodSet cardinality describes workload structure; the KueueViz fix replaces an unrelated first-set Pod count with the actual number of sets.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-ops-kueueviz-podset-membership-count/
Language: en

Kueue 0.20.6 corrects the Pod Sets Count field on workload pages. It previously displayed the first PodSet’s pod count instead of the number of PodSets. The distinction is operationally relevant for multi-component workloads: a large homogeneous group and several differently specified groups are different scheduling shapes, even when they contain the same total number of Pods. A dashboard count should identify which population it summarizes.

## A set count and a member count answer different questions

PR 18678 names the mistaken source field directly. A workload with two PodSets of eight and one Pods has two sets, not eight. The example is an illustrative fixture, not an upstream benchmark. Keeping these populations distinct matters when an operator asks whether several roles or resource specifications are present. Neither the first group size nor the total Pod count can substitute for the cardinality of the collection of PodSets.

## Avoid fixtures whose numbers accidentally agree

A page test containing one PodSet with one Pod would pass under both the old and corrected interpretation. So could other fixtures where first-set size equals set count. A useful regression case deliberately separates those numbers and varies collection order. Reordering PodSets should not change their count, while it would change the erroneous first-set-derived value if group sizes differ. That permutation is a diagnostic check of the collection contract, not a new feature claim.

## Use the API object as the comparison population

A proposed UI qualification reads the same workload version shown on the page and counts its PodSet entries. Comparing against current running Pods can be misleading during startup, scaling or cleanup because those are a different population at a different lifecycle stage. The corrected field should describe the workload specification’s grouping. Separate UI fields or views are needed to answer how many Pods currently exist, are ready or have completed.

## Presentation repair does not change admission

The release describes a KueueViz display bug. It does not say that PodSets were missing from the scheduler or that correcting the label changes quota accounting. Incident reviews should avoid inferring those deeper failures from an incorrect page count alone. The practical improvement is a truthful structural summary that can guide further inspection of individual sets. Actual flavor assignments, topology and admission conditions remain the evidence for whether the multi-component workload can run as intended.

## Sources

- [kubernetes-sigs/kueue v0.20.6 release notes](https://github.com/kubernetes-sigs/kueue/releases/tag/v0.20.6)
- [Automated cherry pick of #17538: kueueviz: show the real pod set count on workload pages by mbobrovskyi](https://github.com/kubernetes-sigs/kueue/pull/18678)

## Related reading

- [Kubernetes 1.36: topology placement for a PodGroup](/journal/kubernetes-136-podgroup-topology-placement/)
- [GPUs in Kubernetes: scheduling CPU, RAM and accelerators together](/journal/kubernetes-gpu-scheduling/)
