eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

Deploy specific workspace on specific node #23165

Closed huonguyenlt closed 3 weeks ago

huonguyenlt commented 2 months ago

Summary

I know that we can use nodeSelector to deploy workspaces on specific nodes. However, I need the ability to deploy different workspaces on different nodes. I need a workspace that runs dotnet framework which only works on windows container. So, beside linux node, I also need a windows node to host that workspace. Not sure there is any way to achieve this?

Relevant information

No response

tolusha commented 1 month ago

I think you can add nodeselector for a pod directly into a devfile using pod override feature [1]

[1] https://devfile.io/docs/2.3.0/overriding-pod-and-container-attributes