mirror of
https://github.com/open-webui/terminals.git
synced 2026-11-05 01:37:21 +00:00
[GH-ISSUE #31] Add kubernetes scheduling overrides for terminal pods #12
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/terminals#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @phillamb168 on GitHub (Jul 1, 2026).
Original GitHub issue: https://github.com/open-webui/terminals/issues/31
Summary
Kubernetes Operator backend users cannot currently constrain generated terminal pods to specific node pools because the operator does not expose
nodeSelectorortolerationsfor the pods it creates.Use case
In multi-tenant or mixed-workload clusters, operators may want terminal pods to run only on dedicated nodes, for example nodes with stronger isolation, special hardware, different storage, or taints that keep ordinary workloads away.
Today, the generated terminal pods cannot tolerate those taints or target those labels without an external admission controller.
Proposed behavior
Add optional environment-based scheduling overrides for the Kubernetes Operator backend:
TERMINALS_KUBERNETES_NODE_SELECTORTERMINALS_KUBERNETES_TOLERATIONSThese would be applied to generated terminal pods. The same scheduling settings should also apply to reset pods so cleanup/reset work can run in the same node pool.
Notes
This keeps the CRD unchanged and is backward-compatible: if the env vars are unset, generated pods behave as they do today.
Status
I've created a MR #30
@phillamb168 commented on GitHub (Jul 2, 2026):
@tjbck apologies about the CLA, that was a copy/paste miss. When I tried to reopen a new one, the bot closed it automatically because it was targeting main:
however... it looks like this repo only has a 'main' branch, I don't see any other branches. Should I be targeting something else?