Closed sunya-ch closed 1 year ago
This PR is to handle the issue https://github.com/foundation-model-stack/multi-nic-cni/issues/33.
Here the SafeCache struct is implemented for handling any sharing cache including CIDRCache, IPPoolCache, HostInterfaceCache, and DaemonCache.
Also, to avoid keeping failure on the failed daemon, HostInterface update will be ignored if the daemon pod is missing.
Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com
This PR is to handle the issue https://github.com/foundation-model-stack/multi-nic-cni/issues/33.
Here the SafeCache struct is implemented for handling any sharing cache including CIDRCache, IPPoolCache, HostInterfaceCache, and DaemonCache.
Also, to avoid keeping failure on the failed daemon, HostInterface update will be ignored if the daemon pod is missing.
Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com