Skip to content

Commit bd1e27f

Browse files
committed
Address review
Signed-off-by: Pannaga Rao Bhoja Ramamanohara
1 parent 7e951df commit bd1e27f

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

site/content/en/docs/tasks/manage/enforce_job_management/opt_in_namespace_management.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ managedJobsNamespaceSelector:
5151

5252
### Step 3: Enable the Feature Gate
5353

54-
Enable the `ManagedJobsNamespaceSelectorAlwaysRespected` feature gate in your Kueue manager configuration. See [Feature Gate Details](#feature-gate-details) below for configuration instructions.
54+
Enable the `ManagedJobsNamespaceSelectorAlwaysRespected` feature gate in your Kueue manager configuration. See [Feature Gate Details](#feature-gate-details) for configuration instructions.
5555

5656
## Feature Gate Details {#feature-gate-details}
5757

@@ -100,18 +100,6 @@ When this feature gate is **disabled** (default behavior prior to v0.13):
100100
- If `manageJobsWithoutQueueName` is false, `managedJobsNamespaceSelector` has no effect: Kueue will manage exactly those instances of supported Kinds that have a `queue-name` label.
101101
- If `manageJobsWithoutQueueName` is true, then Kueue will (a) manage all instances of supported Kinds that have a `queue-name` label and (b) will manage all instances of supported Kinds that do not have a `queue-name` label if they are in namespaces that match `managedJobsNamespaceSelector`.
102102

103-
## Expected Behavior
104-
105-
When the feature gate is enabled:
106-
107-
1. **Namespace selector check happens first**: Before checking for `queue-name` labels or evaluating `manageJobsWithoutQueueName`, Kueue first checks if the workload's namespace matches the `managedJobsNamespaceSelector`.
108-
109-
2. **Workloads in non-managed namespaces**: Any workload in a namespace that does not match the `managedJobsNamespaceSelector` (and the selector is not nil) will not be reconciled by Kueue and will be ignored — regardless of whether it has a `queue-name` label or the value of `manageJobsWithoutQueueName`.
110-
111-
3. **Workloads in managed namespaces** (or when selector is nil): After passing the namespace selector check, normal reconciliation logic applies:
112-
- If `manageJobsWithoutQueueName=false`: Only workloads with a `queue-name` label will be managed.
113-
- If `manageJobsWithoutQueueName=true`: All workloads (with or without `queue-name` label) will be managed.
114-
115103
## Related Documentation
116104

117105
- [KEP-3589: Uniformly filter manageJobsWithoutQueueNames by namespace](https://github.com/kubernetes-sigs/kueue/tree/main/keps/3589-manage-jobs-selectively)

0 commit comments

Comments
 (0)