-
Notifications
You must be signed in to change notification settings - Fork 10
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
Applications as custom resources #5
Comments
Hi We have had ideas in the same direction, but we don't have any concrete plans for implementing it. Our idea is basically as follows:
This would mostly be a convenience feature for end-users, but we do some great value in it. Note that (as I stated above) this would not change the behavior of the operator: every time you add/remove/update an application a redeploy of ShinyProxy will happen. Finally, by using Kustomize you can already achieve a similar result, although it's not that polished... Create a
Create a
Create two apps:
Run kustomize:
Check the end-result:
I'm looking forward to your thoughts on this! |
I really like the framework you laid out - that's exactly what I was hoping for. The ShinyProxyApp CRD would open the door for me to fully automate an app update from a developer's commit straight to whatever the destination shinyproxy deployment would be. Right now I work around it via mutable docker tags, but this would even allow for seamlessly adding a new application. Regarding kustomize: I have done something similar with helm and I agree that does make things easier, but for me the real value would come from being able to define an application's config outside of the global shinyproxy config. Thank you very much for your thorough response - I really appreciate the work you put into this project |
The Application CR could have label selectors that match one or more shinyproxys. Could be a very interesting way to allow teams to slide their apps into a shared proxy. |
That's an interesting idea @kfox1111! It would make things a bit more complex on the operator side, e.g. when an app CR has been updated, the operator needs to figure which ShinyProxy servers are affected. But I think it's worth the effort. |
…ie and query param' (#5) from feature/27576/access-old into develop
It would be neat to be able to take application definitions out of the shinyproxy custom resource and have their configuration instead be deployed to kubernetes as custom resources themselves. That way adding a new app or changing an existing one wouldn't require an update of the shinyproxy custom resource itself.
For example, currently I have apps set up using the latest tag on their docker image. That way I don't need to touch the application.yml whenever an app is updated. Having apps defined as a custom resource would allow for me to use immutable tagging on docker images without incurring the pain of updating an application.yml or shinyproxy custom resource at a high frequency.
Are there already plans for this? I'm curious if there has been any discussion around it
The text was updated successfully, but these errors were encountered: