-
Notifications
You must be signed in to change notification settings - Fork 95
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
Migrate add-ons to be managed by addon-manager #355
Comments
@haoqing0110 Can you add a link to the code for |
Signed-off-by: Zhiwei Yin <[email protected]>
@haoqing0110 i think it is done, right? |
@qiujian16 we have finished the target in Addon-framework 0.10.0, I think the final goal is to make "the addon is default managed by addon-manager". Need another release to remove the code to force add the annotation |
maybe create another issue to track this. |
#510 will trace the follow-up task. |
Describe the enhancement
In OCM v0.11.0, we introduced a new component called
addon-manager
to manage the add-on agent lifecycle. With this introduced, the addon agent has 2 ways to maintain the lifecycle:addon-manager
manage by definingspec.installStrategy
inClusterManagementAddOn
.To avoid conflict, we also introduced annotation
addon.open-cluster-management.io/lifecycle
inClusterManagementAddOn
to control whether the addon lifecycle is managed by self (framework) oraddon-manager
.The
addon-manager
is disabled by default in OCM v0.11.0 and add-on is by default managed by self.In OCM v0.12.0, the
addon-manager
is enabled by default and the addon is still default managed by self.In the future, we plan to make the addons by default managed by
addon-manager
, so here is the addon-framework and addon-manager roadmap and migration plan.OCM v0.12.0 (released)
addon-manager
supports the latest addon API.addon-manager
is default enabled.addon-framework
).addon-framework 0.8.0 (released)
OCM v0.13.0 (released)
addon-framework
).Addon-framework 0.9.0 (released)
addon.open-cluster-management.io/lifecycle: self
if the addon callsWithInstallStrategy()
.patch
permission onClusterManagementAddon
.Addon-framework 0.8.1 (released)
addon.open-cluster-management.io/lifecycle: self
if the addon callsWithInstallStragegy()
.patch
permission onClusterManagementAddon
.OCM v0.14.0
addon-framework
).Addon-manager
will add annotationaddon.open-cluster-management.io/lifecycle: addon-manager
ifself
is not set.Addon-framework 0.10.0
addon.open-cluster-management.io/lifecycle: self
.OCM future #510
addon-manager
.The text was updated successfully, but these errors were encountered: