-
Notifications
You must be signed in to change notification settings - Fork 786
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 support to upgrade addons #3678
Comments
Hi @anubisg1 This has been a consideration for some time now and different approaches have been considered by the team. In the end, it all boils down to the fact that Just to make sure that this is recorded, I believe that the way forward would be to allow for addon implementations to implement an As for the implementation of the
Further, I believe the UX should look similar to this: $ microk8s upgrade $addon [ $args... ] Finally, I would be reluctant to add a I am suggesting this both as an exercise to consider what the feature could look like, as well an initial case to gather interest and feedback from the community. Also cc @ktsakalozos if you want to share any ideas of your own. |
I just had to do a manual upgrade of the storage addon from version 1.1.0 to 1.4.2 (with the help of @neoaggelos), and it was a bit painful ("try this" -- "no that doesn't work, needs more" -- "not there yet", etc). While we got there in the end, having a feature like this would be tremendously helpful and would save a lot of time. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Would be great to see if something like this is possible, one of the draws to me of microk8s is that it appeared like the snap can be auto updated, which is great for keeping a platform evergreen. Extensions seemed a great addition to this, core capability that just works. However without an upgrade story they feel a bit more footgun-y. It does make sense as there won't always be easy upgrade paths, and I suspect it would make the extension mechanism way more complicated. |
Summary
Allow to upgrade addons when upgrading microk8s from one version to another
Why is this important?
When upgrading from one version to another, incompatibilities may arise causing old version of addons to no longer work.
Currently the only way to upgrade an addon is to Uninstall it, then update it. This causes. Downtime
Are you interested in contributing to this feature?
I'd be happy to but I need some direction on how to do it. I'm not a full developer rather just a "patcher"
The text was updated successfully, but these errors were encountered: