k8spin / k8spin/k8spin-operator

Node Selectors

Open
#22 0 comments 0 reactions 2 assignees Claimed by @angelbarrera92 View on GitHub
help wanted question refinements
Dominant language
Python
Stars
217
Forks
16
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I want to assign workloads to specific nodes. K8Spin has to inject all the attributes required to isolate workloads in specific nodes (tolerations, taints, nodeSelector...)
Meaning that if I assign an Organization/Tenant or Space to run in specific nodes, workloads can not override this setting.

**Describe the solution you'd like**
I want to be able to specify this selector at any level. The lower levels will inherit it.
It should be a list. Lower levels can only choose from those nodes defined in the top levels.

**Describe alternatives you've considered**
TBD

**Additional context**
This requires to have nodes correctly labeled. Otherwise, it is not helpful at all.
If no nodeSelector is specified, workloads can run on any node.
This feature is similar to an already existing admission webhook:
- https://stackoverflow.com/questions/52487333/how-to-assign-a-namespace-to-certain-nodes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.