-
Notifications
You must be signed in to change notification settings - Fork 23
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
Ability to provide Day-2 operations #147
Comments
thanks @jmesnil - yes, that would be a great addition! We have previously talked about these as "generic day 2 operations", so definitely 👍 to this. I think it's just a matter of having free cycles for this - so any help, even in the design phase, would be awesome. 😄 |
hi @leochr - can you please start a design for this work? |
PR #157 is now merged |
Closing. Delivered on September 8th via PR #157. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Is your feature request related to a problem?
When I use the RCO to deploy my runtime on OpenShift, I would like to perform some Day-2 operations while my application is running.
For example, my Runtime is based on Java applications and I'd like to be able to:
As far as I can tell, RCO does not provide mechanisms to "plug" such Day-2 operations that are specific to the deployed runtime.
Describe the solution you'd like
I'd like to be able to use RCO to deploy my runtime and be able to specify day-2 operations to perform on my deployed application.
OpenLiberty that is using RCO as a library to implement its own operator provides some of these day-2 operations: https://github.com/OpenLiberty/open-liberty-operator/blob/master/doc/user-guide.adoc#day-2-operations
They are able to do so because they provide their own operator. Ideally, I'd like to be able to perform similar day-2 operations without having to extend RCO.
One of the possible design would be to have an additional CRD owned by RCO that would correspond to a Day-2 operation (e.g. RuntimeOperation). This CRD would allow the execution of a command against a pod owned by the RCO operator.
This works fine for Day-2 operation that change the runtime state of the application without changing its cluster state.
For example, I could then create a custom resource to change the log level of my Java application
To flush a JDBC connection pool, I coud create another custom resource:
These operations are performed once and if I want to perform them again, I have to replace them (or create ones with new names).
The text was updated successfully, but these errors were encountered: