-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Plugin broker should send plugins configuration with separated init container that downloads plugins #13163
Comments
@garagatyi I have tried to read this a couple of times but I struggle to understand it. We may need to do a call. @ibuziuk what do you think? |
@l0rd I'll try to rephrase the description: It effectively separates sidecar config evaluation and plugins downloading, so:
|
Ok I see. That looks good to me.
|
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Out of date; current plugin broker issue #14494 |
Description
At the moment the plugin broker downloads a plugin binaries and put them in plugins volume
/plugins
in a sidecar or in the main theia container.When we start ephemeral workspace this leads to running the broker twice which is error prone and not time effective.
Instead of that the broker should return a configuration of plugins with init containers and configuration on what needs to be downloaded and where to put that.
Additional info from here and here:
Instead of sending brokering results as it is sent now plugin-service-response-v1.yaml, send results in form which would allow implementing automatic plugins sidecar co-location plugin-service-response-v2.yaml. See explanation here. Automatic plugins co-location feature would also affect ability of UD to get RAM limits for the whole workspace - we will need to find solution for that.
Separate sidecar config evaluation and binaries delivering to workspace:
engine.cheRuntimeContainer
in package.json. Container image has to go into meta.yaml starting fromapiVersion: 2
. This will help avoid confusion when image is set in both meta.yaml and package.json.Reproduction Steps
OS and version:
Diagnostics:
The text was updated successfully, but these errors were encountered: