foundation-model-stack / multi-nic-cni

https://foundation-model-stack.github.io/multi-nic-cni/
Apache License 2.0
33 stars 5 forks source link

allow empty master if devices found on pod #178

Closed sunya-ch closed 5 months ago

sunya-ch commented 6 months ago

This PR is an extension of previous PR https://github.com/foundation-model-stack/multi-nic-cni/pull/153 to prevent the issue when daemon pod has restarted during the job is running and cache has gone.

error:

zero config on cmdDel

As host-device deletion, there is no need of the master name. We add steps to assign the pod device IDs back to response when the daemon has no information of master device names.

after this change:

Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com