You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure Kueue to only manage workloads in explicitly labeled namespaces using the ManagedJobsNamespaceSelectorAlwaysRespected feature gate.
6
+
Configure Kueue to only manage workloads in explicitly labeled namespaces.
7
7
---
8
8
9
9
This page describes how to configure Kueue to enforce opt-in namespace management, ensuring that only workloads in explicitly labeled namespaces are reconciled by Kueue.
-**Prevents quota bypass**: Users cannot bypass Kueue's quota system by manually adding `queue-name` labels to workloads in unmanaged namespaces. Only workloads in opted-in namespaces are ever reconciled by Kueue, regardless of how they are labeled.
21
21
-**Explicit control**: Cluster administrators have full control over which namespaces are subject to Kueue management by simply labeling namespaces.
22
-
-**Consistent behavior**: This brings `batch/v1/Job` integration into alignment with `Pod`, `Deployment`, and `StatefulSet` integrations, which already enforce namespace-based filtering.
22
+
-**Consistent behavior**: This brings `batch/v1.Job` integration into alignment with `Pod`, `Deployment`, and `StatefulSet` integrations, which already enforce namespace-based filtering.
23
23
24
24
## Configuration
25
25
@@ -47,8 +47,6 @@ managedJobsNamespaceSelector:
47
47
managed-by-kueue: "true"
48
48
```
49
49
50
-
**Note**: When the `ManagedJobsNamespaceSelectorAlwaysRespected` feature gate is enabled, only namespaces that match the selector will be reconciled. Namespaces without the required labels will not be managed by Kueue, regardless of whether workloads in those namespaces have a `queue-name` label.
51
-
52
50
### Step 3: Enable the Feature Gate
53
51
54
52
Enable the `ManagedJobsNamespaceSelectorAlwaysRespected` feature gate in your Kueue manager configuration. See [Feature Gate Details](#feature-gate-details) for configuration instructions.
@@ -59,8 +57,7 @@ The `ManagedJobsNamespaceSelectorAlwaysRespected` feature gate controls whether
59
57
60
58
### Feature Gate Status
61
59
62
-
- **Alpha**: v0.13
63
-
- **Beta**: v0.15
60
+
The `ManagedJobsNamespaceSelectorAlwaysRespected` feature gate was introduced as **Alpha** in Kueue v0.13 and graduated to **Beta** in v0.15.
0 commit comments