kubernetes/test/e2e_node/testing-manifests
Alexey Perevalov bb81101570 podresource: do not export NUMA topology if it's empty
If device plugin returns device without topology, keep it internaly
as NUMA node -1, it helps at podresources level to not export NUMA
topology, otherwise topology is exported with NUMA node id 0,
which is not accurate.

It's imposible to unveile this bug just by tracing json.Marshal(resp)
in podresource client, because NUMANodes field ID has json property
omitempty, in this case when ID=0 shown as emtpy NUMANode.
To reproduce it, better to iterate on devices and just
trace dev.Topology.Nodes[0].ID.

Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
2021-08-24 15:38:21 +00:00
..
embed.go test: setup embedded file sources for manifests 2021-06-29 19:16:46 +05:30
kubevirt-kvm-ds.yaml podresource: do not export NUMA topology if it's empty 2021-08-24 15:38:21 +00:00
sriovdp-cm.yaml
sriovdp-ds.yaml beta.kubernetes.io/arch is already deprecated 2020-03-25 13:34:43 +08:00
sriovdp-sa.yaml