mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 19:36:22 +00:00
On single-NUMA node systems the numa_node of sriov devices was sometimes reported as "-1" instead of, say, 0. This makes some tests that should succeed[0] fail unexpectedly. The reporting works as expected on real multi-NUMA node systems. This small workaround was added to handle this corner case, but it makes overall the code less readable and a bit too lenient, hence we remove it. +++ [0] on a single NUMA node system some resources are obviously always aligned if the pod can be admitted. It boils down to the node capacity at pod admittal time. Signed-off-by: Francesco Romani <fromani@redhat.com>