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: skip removing nics from lb if there will be no nics in the backe… #3212
Conversation
✅ Deploy Preview for kubernetes-sigs-cloud-provide-azure ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nilo19 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
2 similar comments
/retest |
/retest |
Thanks for the fix /lgtm |
/test pull-cloud-provider-azure-e2e-capz |
/test pull-cloud-provider-azure-e2e-ccm-capz |
/test pull-cloud-provider-azure-e2e-ccm-vmss-capz |
/retest |
1 similar comment
/retest |
/cherrypick release-1.23 |
/cherrypick release-1.24 |
/cherrypick release-1.25 |
/cherrypick release-1.26 |
@nilo19: #3212 failed to apply on top of branch "release-1.23":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nilo19: #3212 failed to apply on top of branch "release-1.24":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nilo19: #3212 failed to apply on top of branch "release-1.25":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nilo19: #3212 failed to apply on top of branch "release-1.26":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
…nd pool
What type of PR is this?
/kind bug
What this PR does / why we need it:
We used to remove the nics from the lb backend pool if the corresponding VM is not ready. However, if all nodes in the pool go into not ready state at a time, the connection will be completely lost. This PR skips the removal if the backend pool will be empty after the operation. If the vms are not found, the nics will be removed, even if the pool will be empty, because in this case the nics are not supposed to exist any more.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: