multus-cni
multus-cni copied to clipboard
always attempt a live pod get on miss to confirm its really not there
From openshift pull request:
This makes sure that stale caches never result in NotFound errors.
It was explained to me that informers are almost always are more efficient, and in most cases will work, but a live lookup is appropriate after a number of failures.
This happens only on the retry portion, so we're still getting the benefits of informers, but, on a retry situation, we don't get a cache miss.