-
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
🌱 Add PreCleanupManagementCluster hook to clusterctl upgrade test #7373
🌱 Add PreCleanupManagementCluster hook to clusterctl upgrade test #7373
Conversation
Hi @mboukhalfa. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/cherry-pick release-1.2 |
@mboukhalfa: only kubernetes-sigs org members may request cherry-picks. You can still do the cherry-pick manually. 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. |
/cherry-pick release-1.2 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.2 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. |
45b1b87
to
296072f
Compare
296072f
to
de6dee0
Compare
/lgtm /assign @fabriziopandini |
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
/approve
I don't have any issue in getting this merged, but it seems to me that for some providers it will be easier to write their own clusterctl upgrade test without using nested management clusters as we do in main Cluster API / with CAPD.
Have you considered this (it will probably also speed up test duration, at the cost of requiring a dedicated job for the test)
Currently metla3 is spinning up bootstrap cluster with an old version and then creates a target cluster with the same version after that it upgrades both to the latest which introduced some complexity I think reusing capi test would be simpler and more reliable to test the target management with checking workload scale up instead of upgrading only the bootstrap or duplicating the same code with some customization. |
/check-cla |
Hm not sure what's going on with EasyCLA and how to re-trigger it. Maybe a git commit --amend + push --force without changes to force it? |
de6dee0
to
976c6ce
Compare
Thx! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, sbueringer 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 |
@sbueringer: new pull request created: #7388 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 this PR does / why we need it:
Add hook before cleaning the target management cluster from bootstrap in
clusterctl_upgrade.go
This might be needed to run extra steps from certain providers such as moving conflicting services (e.g. DHCP) from target management to bootstrap in the case clusters share the same management LAN.
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 #