-
Notifications
You must be signed in to change notification settings - Fork 256
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
Consider splitting pkg/provisioner/*
into golang plugins.
#1752
Comments
It's not a bad idea, although
|
As an aside, I'd really like to extract a reusable Ironic-centric library out of |
/triage accepted |
@Rozzii: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed 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. |
One that I used before is basically very patched Ironic provisioner and by having this plugin system I would hope to see more hard separation between logic so that any kind off-stream patched could be applied exclusively to the plugin code itself. But really any kind of other BM provisioners could be done if plugin system would reduce the scope of implementation. |
This would be a first step, yes, this will somewhat ensure that provisioner could be more isolated, it always feels like BMO is missing this part of isolation of implementations. |
IMO, state machine can be reused, some states can be just No-Op in case of other than Ironic provisioner is used. |
I would like to have the ability to use any kind of cloud provider API (meaning BM offerings, not VMs that they offer) with proven to work state-machine and have all of this interchangeable, openstack <-> somethingother just by switching plugin. So that ironic-specific things in this case can be of use. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
/lifecycle-frozen |
/lifecycle frozen |
User Story
It would be nice to have plugin support for BYO provisioner by using golang plugins approach.
Detailed Description
Moving
pkg/provisioner/*
into golang plugins would require makinggo mod init
on them, updating build process, adding code that will load plugins on start.Anything else you would like to add:
Moving out stock provisioner code would also help with making statemachine part be properly isolated from provisioners.
/kind feature
The text was updated successfully, but these errors were encountered: