<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Enforce Kueue Management of Workloads on Kueue</title><link>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/</link><description>Recent content in Enforce Kueue Management of Workloads on Kueue</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 20 Jul 2026 00:10:19 -0700</lastBuildDate><atom:link href="https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/index.xml" rel="self" type="application/rss+xml"/><item><title>Setup default LocalQueue</title><link>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/setup_default_local_queue/</link><pubDate>Thu, 12 Dec 2024 00:00:00 +0000</pubDate><guid>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/setup_default_local_queue/</guid><description>&lt;div class="feature-state-notice feature-stable"&gt;
 &lt;span class="feature-state-name"&gt;Feature state&lt;/span&gt; stable since Kueue v0.17
&lt;/div&gt;


&lt;p&gt;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 &lt;code&gt;kueue.x-k8s.io/queue-name&lt;/code&gt; label is not specified explicitly.&lt;/p&gt;
&lt;h2 id="setup-default-localqueue"&gt;
Setup default LocalQueue
&lt;a href="#setup-default-localqueue" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;LocalQueueDefaulting is a feature that allows the use of a LocalQueue with name &lt;code&gt;default&lt;/code&gt; as the default LocalQueue
for workloads in the same namespace that do not have the &lt;code&gt;kueue.x-k8s.io/queue-name&lt;/code&gt; label.&lt;/p&gt;</description></item><item><title>Setup a Job Admission Policy</title><link>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/setup_job_admission_policy/</link><pubDate>Fri, 28 Jun 2024 00:00:00 +0000</pubDate><guid>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/setup_job_admission_policy/</guid><description>&lt;p&gt;This page shows how you can set up for Kueue a Job Admission Policy using the Kubernetes &lt;a href="https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy"&gt;Validating Admission Policy&lt;/a&gt;, based on the &lt;a href="https://github.com/google/cel-spec"&gt;Common Expression Language (CEL)&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="before-you-begin"&gt;
Before you begin
&lt;a href="#before-you-begin" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Ensure the following conditions are met:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A Kubernetes cluster is running.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;ValidatingAdmissionPolicy&lt;/code&gt; &lt;a href="https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/"&gt;feature gate&lt;/a&gt;
is enabled. In Kubernetes 1.30 or newer, the feature gate is enabled by default.&lt;/li&gt;
&lt;li&gt;The kubectl command-line tool can communicate with your cluster.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://kueue.sigs.k8s.io/v0.17/docs/installation/"&gt;Kueue is installed&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="enforce-queue-name---example"&gt;
Enforce Queue Name - Example
&lt;a href="#enforce-queue-name---example" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;The example below shows you how to set up a Job Admission Policy to reject early all Job or JobSets
without the queue-name if sent to a namespace labeled as a &lt;code&gt;kueue-managed&lt;/code&gt; namespace.&lt;/p&gt;</description></item><item><title>Setup manageJobsWithoutQueueName</title><link>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/manage_jobs_without_queue_name/</link><pubDate>Fri, 28 Jun 2024 00:00:00 +0000</pubDate><guid>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/manage_jobs_without_queue_name/</guid><description>&lt;p&gt;This page describes how to configure Kueue to ensure that all Workloads submitted in namespaces
intended for use by &lt;em&gt;batch users&lt;/em&gt; will be managed by Kueue even if they lack a &lt;code&gt;kueue.x-k8s.io/queue-name&lt;/code&gt; label.&lt;/p&gt;
&lt;h2 id="before-you-begin"&gt;
Before you begin
&lt;a href="#before-you-begin" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Learn how to &lt;a href="https://kueue.sigs.k8s.io/v0.17/docs/installation/#install-a-custom-configured-released-version"&gt;install Kueue with a custom manager configuration&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Opt-in Namespace Management</title><link>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/opt_in_namespace_management/</link><pubDate>Tue, 25 Nov 2025 00:00:00 +0000</pubDate><guid>https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/opt_in_namespace_management/</guid><description>&lt;p&gt;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.&lt;/p&gt;
&lt;h2 id="before-you-begin"&gt;
Before you begin
&lt;a href="#before-you-begin" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Learn how to &lt;a href="https://kueue.sigs.k8s.io/v0.17/docs/installation/#install-a-custom-configured-released-version"&gt;install Kueue with a custom manager configuration&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Understand how to configure &lt;a href="https://kueue.sigs.k8s.io/v0.17/docs/tasks/manage/enforce_job_management/manage_jobs_without_queue_name/"&gt;&lt;code&gt;manageJobsWithoutQueueName&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Learn how to &lt;a href="https://kueue.sigs.k8s.io/v0.17/docs/installation/#change-the-feature-gates-configuration"&gt;change the feature gates configuration&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="why-use-opt-in-namespace-management"&gt;
Why Use Opt-in Namespace Management?
&lt;a href="#why-use-opt-in-namespace-management" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Opt-in namespace management allows cluster administrators to enforce strict quota controls by ensuring that Kueue only manages workloads in explicitly designated namespaces. This provides several key benefits:&lt;/p&gt;</description></item></channel></rss>