Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pod watch namespace for nv-ipam-node #37

Merged
merged 2 commits into from
Mar 19, 2024

Commits on Mar 19, 2024

  1. Fix namespace in Pod watch for nv-ipam-node

    Before the fix,  nv-ipam-node was watching only for Pods in the namespace provided by `-- ippools-namespace` arg. This is incorrect and cause "stale IP cleaner" to work incorrectly.
    
    Watch Pods in all namespaces instead.
    
    Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
    ykulazhenkov committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    eccd78f View commit details
    Browse the repository at this point in the history
  2. Add additional check to the cleaner

    Add extra check to the cleaner to validate API (in addition to the cache)
    before decide to cleanup the stale allocation.
    
    Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
    ykulazhenkov committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    1e29014 View commit details
    Browse the repository at this point in the history