-
Notifications
You must be signed in to change notification settings - Fork 635
✨ allow preserving addons on delete #5520
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
✨ allow preserving addons on delete #5520
Conversation
|
Hi @alam0rt. 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-sigs/prow repository. |
|
/kind feature |
|
/ok-to-test |
|
@alam0rt - thanks for this. Just so i understand this correct. If you want to delete and use your own version of the addon, is this the process:
|
|
Also, guessing this is only for the use case where |
That's correct! |
|
/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-sigs/prow repository. |
|
/test pull-cluster-api-provider-aws-e2e-eks |
|
/approve |
|
/test pull-cluster-api-provider-aws-e2e-blocking |
|
/retest |
|
/lgtm |
|
[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 |
694281b to
b33add2
Compare
8718bc2 to
b33add2
Compare
b33add2 to
c109cab
Compare
|
/retest |
1 similar comment
|
/retest |
|
/lgtm |
|
LGTM label has been added. Git tree hash: 55cec9f4995685c98bfcd53c9084c54c20ccae2d
|


What type of PR is this?
feature
What this PR does / why we need it:
We are looking at migrating away from the managed addons (specifically kube-proxy) and wanting to use our own self-managed.
The issue is that both
kube-system/daemonset/kube-proxys can't exist at the same time for obvious reason.Removing the addon from
.spec.addonswill of course, delete the addon.Deploying over the addon works, but again, removing the addon will remove the now self-managed addon.
The only way (without juggling multiple daemonsets, using taints/tolerations to run both at the same time, etc) for a clean migration is to (please let me know if a good way comes to mind):
We could potentially stop CAPA reconciliation and remove the addon manually, but kind of want to avoid that.
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 #
Special notes for your reviewer:
Checklist:
Release note: