-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support Pod tolerations for DevWorkspace Pods #614
Comments
As far I as understand @l0rd will provide a better requirement for this feature, like should it be defined on namespace object/on a specific workspace level. |
I have looked at past issues and here is the original where it's mentioned that a central config is required first. NodeSelector per workspace was considered a successive iteration. I also found a customer request:
Summing it up:
|
Hi, a question to the assignee of this issue: Will the outcome require any changes to the relevant content of the Installation Guide or Administration Guide or End-user Guide? Yes/No? |
Supporting this makes sense as a part of the main Devfile API; I've created devfile/api#689 and will follow up. |
Now pod teleration look like this
@amisevsk can you tell us how this config should look like so devworkspace controller can understand it? |
We had a discussion in a devfile/api call today, and it sounds like we want to hold off on setting per-workspace tolerations and node selectors for now. As a result, it's not fully clear how this will be implemented on the DWO side for the time being, though it will likely be as a global config option. Formatting-wise, what's in Che would work. The initial proposal (#681) uses pod tolerations matching the k8s object (we literally deserialize into |
PR #696 adds support for setting tolerations and node selectors at a namespace level. @skabashnyuk would it be possible to make Che apply the appropriate annotations when syncing a user's namespace? |
@amisevsk I think yes. eclipse-che/che#20884 |
Description
To support node selection for workspace pods, it would be great if we supported pod tolerations and node selector for DevWorkspace pods.
It would be best if this was a noop but we need to investigate if the same can be done on namespace level - e.g. by labeling namespaces such that addmission controllers can select the nodes automatically, see https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#podnodeselector
The text was updated successfully, but these errors were encountered: