-
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
Yaml plugin should not need to be run inside its own side car container #13555
Comments
here we could just remove the image in meta.yaml so it goes in theia container (the default) |
There is an issue with not running plugins in sidecars though, if they require a significant amount of memory. Since the theia container has a relatively tight default memoryLimit, adding any plugins that require memory would also require manually increasing the memory allocated to Theia. We currently don't have a good flow for accomodating additional plugins in the Theia container (we should e.g. take the memory limit from the plugin and add it to the theia container's default limit). |
@amisevsk although this is correct YAML LS works on a single file so it is relatively nimble. Alternately you can consider running it inside the browser just like it is done for Openshift console. |
If you mean @benoitf's idea to remove the image from the plugin, yes, that would work. However, I find it unsatisfactory that we have to special-case this: if we implemented container-sharing, we could reap the benefits for every container, not just theia. |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
I guess this is still relevant, since vscode-yaml is using the node sidecar these days. |
Description
At the moment the yaml plugin is using
eclipse/che-theia-endpoint-runtime:next
but don't really need additional dependencies from the side car container. So it make sense to move that into the Theia-ide container.https://github.com/eclipse/che-plugin-registry/blob/master/v3/plugins/redhat/vscode-yaml/0.4.0/meta.yaml#L15
The text was updated successfully, but these errors were encountered: