-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱Refactor controlplane health check in KCP #3806
🌱Refactor controlplane health check in KCP #3806
Conversation
0d07944
to
d953d9c
Compare
/test periodic-cluster-api-e2e-release-0-3 |
@sedefsavas: The specified target(s) for
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. |
cc @fabriziopandini cc @vincepri |
/milestone v0.3.11 |
Squash? |
f76b5eb
to
c5c0da0
Compare
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.
Only one last question, otherwise lgtm pending squash
53c4ea4
to
572e7f0
Compare
Squashed. Thanks for the comments @fabriziopandini @vincepri |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
What this PR does / why we need it:
This PR moves reconcileControlPlaneHealth() up in the code and called in reconcile().
Also, it divides health check into 2 parts:
This is partly for cleanup and partly to reuse health check in
reconcileDelete()
. With the introduction of new KCP conditions (#3674), we would like to call health checks inreconcileDelete()
too so that we can get some signal about where the deletion process is at.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Relevant PRs: #3138 #3670 #3674