-
Notifications
You must be signed in to change notification settings - Fork 598
🐛 Fix deregistering of deleted CAPI Machines #4701
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 deregistering of deleted CAPI Machines #4701
Conversation
7f832cb
to
2cac3e7
Compare
We have an issue that there is a gap between the CAPI Machine deletion and the AWSMachine deletion. In this timeframe the kube-apiserver to the to be deleted control plane is no longer possible, but the deregistering of the LB member will be performed only for AWSMachine deletions. This PR fixes the gap and also deregisteres the instance if the CAPI Machine is deleted. Signed-off-by: Tobias Giese <[email protected]>
2cac3e7
to
38ef1d3
Compare
/test ? |
@richardcase: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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. |
Until the e2e passes: /hold |
/test pull-cluster-api-provider-aws-e2e |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardcase 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 |
@tobiasgiese (or anyone else) - when the e2e run finished feel free to do an unhold. |
/cherrypick release-2.3 |
@richardcase: once the present PR merges, I will cherry-pick it on top of release-2.3 in a new PR and assign it to you. 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
but as usual, changes will haunt us later if there's no test. I'll have maintainers decide here, since I'm not an expert of this part of the code.
Indeed this should be done. But I think it's fair to say that this will be addressed in a follow up PR/issue. |
e2e tests passed |
@richardcase: new pull request created: #4704 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. |
/cherrypick release-2.2 I think we should backport it @richardcase |
@tobiasgiese: new pull request created: #4706 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. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
We have an issue that there is a gap between the CAPI Machine deletion and the AWSMachine deletion. In this timeframe the kube-apiserver to the to be deleted control plane is no longer possible, but the deregistering of the LB member will be performed only for AWSMachine deletions. This PR fixes the gap and also deregisteres the instance if the CAPI Machine is deleted.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #4697
Special notes for your reviewer:
Checklist:
Release note:
Tobias Giese [email protected], Mercedes-Benz Tech Innovation GmbH, legal info/Impressum