-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: remove IPAMClaim finalizers on VMI delete events
This way, we ensure the CNI only returns the IP addresses to the pool after the VMI has been deleted on VM foreground deletes. Without it, the IPAMClaim would be deleted by the Kubernetes garbage collector before the VMI was deleted, which would cause the IP address to be released to the pool (by the CNI) prematurely. More details on [0]. [0] - https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion Signed-off-by: Miguel Duarte Barroso <[email protected]>
- Loading branch information
Showing
2 changed files
with
102 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters