Commit 29b547c
feat: add kueue labels lint checks for all workload types
Extend the kueue queue-name label validation to InferenceService,
LLMInferenceService, RayCluster, RayJob, and PyTorchJob workloads.
Checks verify that workloads with the kueue.x-k8s.io/queue-name label
are in kueue-enabled namespaces, and are only active when both the
owning component and Kueue are enabled on the DSC.
Also introduces shared validation logic in workloads/kueue/support.go,
AddCondition/SetConditions helpers on DiagnosticResult, and
GetLabel/HasLabel utilities in pkg/util/kube.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 2518866 commit 29b547c
21 files changed
Lines changed: 1908 additions & 182 deletions
File tree
- pkg
- constants
- lint
- checks/workloads
- kserve
- kueue
- notebook
- ray
- trainingoperator
- resources
- util/kube
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments