Setup default LocalQueue
Note
LocalQueueDefaulting is a Beta feature that is enabled by default.
You can disable it by setting the LocalQueueDefaulting feature gate. Check the Installation guide for details on feature gate configuration.
This page describes how to setup default LocalQueue to ensure that all Workloads submitted to a specific namespace are managed by Kueue,
even if the kueue.x-k8s.io/queue-name label is not specified explicitly.
Setup default LocalQueue
LocalQueueDefaulting is an Beta feature that allows the use of a LocalQueue with name default as the default LocalQueue
for workloads in the same namespace that do not have the kueue.x-k8s.io/queue-name label.
The feature is gated by the LocalQueueDefaulting feature gate, and is enabled by default. To use this feature:
- create a LocalQueue with the name
defaultin a namespace.
That’s all! Now, to test the feature, create a Job in the same namespace. Observe that the Job is updated with the kueue.x-k8s.io/queue-name: default label.
Note that workloads created in a different namespace or workloads that already have the kueue.x-k8s.io/queue-name label won’t be modified.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.