mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 11:28:58 +00:00
Currently the provider that the podresources API consumes does *not* obviously filters out the terminal pod, and this is corroborated by the fact the related e2e test starts to fail. We had a bug in the test which masked the real failure, but now it's evident. So we perform a trivial extraction of the kubelet filtering code and we apply in both places. Note that the existing flow is unaffected except for the trivial code extraciton. Signed-off-by: Francesco Romani <fromani@redhat.com>