-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support generic additional resources #9
Comments
x-ref #12 |
A possible way to solve this issue could be the following. general principles I'm trying to follow in the proposal:
proposal:
Alternatives:encode somehow the extra resources in the CRDWe have two main options: add extra resources as blob (string type in the API), which is extensible but obscure, or add explicit types in the spec, which is hard to read and to extend. In both cases, this is doable, but IMO increases the maintainership cost because it creates a disconnect between the extra resources definition and the scheduler which requires them. With the proposed approach there is a clear link and a clear responsability chain between the scheduler and the definition of extra resources. POC PR: #17 |
Add support in the reconciler code to fetch secondary-scheduler extra resources using the `/bin/get-manifests` entrypoint and an auxiliary deployment. For details, see: openshift#9 (comment) Signed-off-by: Francesco Romani <[email protected]>
Add support in the reconciler code to fetch secondary-scheduler extra resources using the `/bin/get-manifests` entrypoint and an auxiliary deployment. For details, see: openshift#9 (comment) Signed-off-by: Francesco Romani <[email protected]>
After discussion with @fromanirh on the Slack:
|
The
Where instead of |
In more detail:
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/lifecycle frozen |
Custom schedulers could have any number of additional resources necessary -- configmaps, CRDs, rbac policies, etc... Users should either be able to provide these to the operator, or we should document that they are responsible for creating additional resources on their own
The text was updated successfully, but these errors were encountered: