-
Notifications
You must be signed in to change notification settings - Fork 609
✨ 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
base: main
Are you sure you want to change the base?
✨ 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 |
@alam0rt: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
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-proxy
s can't exist at the same time for obvious reason.Removing the addon from
.spec.addons
will 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: