-
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
Investigate how to run IDE tooling in separate containers #5623
Comments
@benoitf can you please add the details from your PoC here? |
@gorkem |
@garagatyi let's consider something practical here.
|
look at the @eivantsov 's answer #5634 as well |
I investigated the usage of LSs as separate containers (sidecars). Here are findings, tasks, and questions that should be addressed to implement sidecar concept in Docker infra:
The current model of the environment is:
|
@garagatyi can you elaborate on #1? What is the use case where an installer is needed? Can't we have the exact required environment in the image that LS will run in? I mean it is LS owner/author who's responsible for LS deps and runtime. |
I agree with @eivantsov |
As @TylerJewell said in one of the discussions we can't remove installers unless we are 100% sure that sidecars will cover all the cases where installers can be used. So, for now, it is not the thing we should argue about. |
@garagatyi if it's for a different implementation and 'that we may not even need it at all' it means it should no longer be part of the core. And could come back only through a specific implementation. |
I guess I do not totally understand what kind of problem you're trying to solve @garagatyi I do believe there is something wrong in the implementation if you need to analyze existence of installers. |
I tried to move LS to a separate container. These are notes about issues I faced during my investigation in this sprint. |
I think what Gennady and Florent are saying is that agent installers and sidecar agents are separate concepts. They may or may not be used by the type of infrastructure chosen. So should we consider them orthogonal for architecture design? |
I'm just referring to your phrase
And we haven't prooved that sidecar is acceptable in any case yet. |
All I wanted to know is the use case when we need an installer. Right now, we don't know in what environment LS is going to start. Thus, we try to auto detect OS, install dependencies and configure runtime if necessary. Maybe @garagatyi has a real life example based on his experience? |
I don't know any particular use case, but I also haven't tried yet Docker PID namespaces for exec and terminal servers. |
@garagatyi said
OK, then let's leave alone installers and focus on usecase you mentioned. |
It's not preventing my POC - I just added concerns on the usage of sidecars and issues I faced (it doesn't mean I can not solve some of them). |
I think it should not be leave "alone" as it's part of the objectives : to not need it for Docker and OpenShift/K8s implementation. There is no usecase for having them for these implementations. |
@benoitf @garagatyi OK, thanks for explanations, so just configure your workspace with images/recipes/servers and volumes (LS on standalone container). Would it work? |
@gazarenkov the title of the issue is "Investigate how to run IDE tooling in separate containers", not being specific about LS, so installers are not out of the scope. So for wsagent, terminal and exec, they have runtime dependencies that may require to install something new and it's not possible without sudo/root access As sidecar is working on docker and OS/K8s then installers are not out of the scope, they should not be there at all in the core feature. If someone need to have it in a specific implementation then it could be there but not as part of the default. |
@benoitf what I was saying is exactly the scope we discussed with @garagatyi |
@gazarenkov IMHO it's not because it's what you expect that your view is matching the full description issue. |
As a conclusion, I can say that the idea is potentially good. But due to described points #5623 (comment) that extend development, we do not consider it in close future. |
Related to SPI branch only.
There is a concept called sidecar. It suggests starting wsagent, terminal, exec and other servers as a separate containers. We need to investigate how it can work with design of new SPI
The text was updated successfully, but these errors were encountered: