che: It is not possible to run more than one Che 7 workspace at a time
Description
If a Che 7 workspace is running and I try to start a new one I get the following error:
Message: services "theia" already exists

One possible solution to address this problem would be to suffix the name of services with the workspace id:
- suffixing services with workspaceid would not be a problem for theia remote plugins as of today because they don’t use the hostname but localhost (since everything run in the same pod)
- That may be a problem for some plugins anyway that want to contact a given service (e.g. the che hello world plugin)
- We fix this in 2 steps:
- prefixing the name of the services with the workspace id when starting a che 7 workspace: that make it easy to start workspaces
- extending the API of the che plugin that @evidolob and IDE 2 are working on to retrieve the real endpoint of a service: that make it easy for plugins developers to consume other plugins APIs
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (6 by maintainers)
A quick win could be:
And here is a wider explanation of options we have and what are the pros and cons:
What we do now:
What options we have to allow running several workspaces in a single k8s namespace:
Pros:
Pros:
Pros:
I would go with option 3 and here is how to do it in an iterable way:
DONE!
@ibuziuk no