What's New in Kueue v0.21.0: Breaking Changes
Kueue v0.21.0 removes v1beta1 CRDs, graduates DRA features to Beta, and adds Helm structured config overrides.
💡 Quick Answer: Kueue v0.21.0 removes the
v1beta1API entirely (migrate tov1beta2first), graduates several DRA and fair-sharing features to Beta (enabled by default), and reworks MultiKueue quota management — review every migration step below before upgrading, or the CRD update and/or controller-manager startup will fail.
The Problem
Kueue v0.21.0 is a heavy actions-required release. Several changes are not additive: they remove deprecated API versions, reject previously-accepted configurations at startup, and change Go API types. Upgrading without the prerequisite steps can leave the CRD update rejected by the API server, or the kueue-controller-manager crash-looping on boot.
The Solution
Treat this as a staged upgrade: migrate CRDs off v1beta1 first, audit feature-gate and DRA/MultiKueue config for now-invalid combinations, then upgrade the controller and Helm values together. Do not skip straight from v0.20.2 to v0.21.0 without reading the v0.19.0 and v0.20.0 notes too, since Kueue requires reviewing every minor version crossed.
Whats New
- API (breaking):
v1beta1is fully removed from Kueue CRDs and from thekueue,config, andvisibilityGo packages. (#16485) - AdmissionChecks: New
WorkloadValidateUniquePodSetUpdatesfeature gate (Beta, on by default) rejects admission checks that write more than onepodSetUpdatesentry for the same PodSet — previously this could place TAS pods on nodes whose taints they didn’t tolerate. (#18021) - CLI:
kueuectl create clusterqueuenow rejects borrow-only flavors that only set--borrowing-limit/--lending-limitwithout a zero--nominal-quota, preventing silently-inactive ClusterQueues from misspelled flavor names. (#16651) - ConcurrentAdmission: Default
spec.concurrentAdmissionPolicy.migration.modeis nowTryPreferredFlavors; the Go fieldConcurrentAdmissionMigration.Modeis now a pointer type. (#17012) - DRA: Duplicate counter/capacity sources with the same driver+name in
deviceClassMappingsare now rejected at startup (previously double-charged quota). (#18921) - DRA:
KueueDRAIntegrationPrioritizedListgraduates to Beta, enabled by default — CEL selectors offirstAvailablerequests are checked against real cluster devices. (#19158) - DRA: Consumable-capacity quota graduates to Beta — DeviceClass capacity dimensions can use separate quota resources; Kueue reports when request rounding increases a charge. (#17636)
- MultiKueue: New feature-gated Dynamic Quota Orchestration capacity provider sums quota from connected worker ClusterQueues via
MultiKueueCapacityProviderConfig.MultiKueueConfig.spec.quotaManagementis deprecated/ignored. TheMultiKueueManagerQuotaAutomationfeature gate, its ClusterQueue condition, and themultikueue_cluster_statusmetric are removed. (#18382) - FairSharing: New Beta
FairSharingPreemptWithinClusterQueueFallbackgate (on by default) retries preemption within the same ClusterQueue when the final fair-sharing check rejects targets. (#19009) - Helm: New
managerConfig.structuredOverrideslets you customize manager settings without copying the whole config;managerConfig.mode: structured|yamlcontrols precedence. (see release notes)
Upgrade Steps
- Before touching v0.21.0, if not already done, migrate off
v1beta1:
# From a checkout of the Kueue repo matching your current version
hack/migrate-to-v1beta2.sh
# Then remove v1beta1 from each CRD's status.storedVersions
kubectl get crd clusterqueues.kueue.x-k8s.io -o jsonpath='{.status.storedVersions}'
kubectl patch crd clusterqueues.kueue.x-k8s.io --subresource=status \
--type=merge -p '{"status":{"storedVersions":["v1beta2"]}}'
# Repeat for all Kueue CRDs (workloads, resourceflavors, admissionchecks, etc.)Audit feature gates and config before upgrading:
- If you disable
KueueDRAIntegration, also disableKueueDRAIntegrationPrioritizedListandKueueDRAIntegrationConsumableCapacity, or the controller manager fails to start. - If you disable
FairSharingVerifyFinalTargets, also disableFairSharingPreemptWithinClusterQueueFallback. - Remove
MultiKueueManagerQuotaAutomationfrom your feature gates if present. - Deduplicate
resources.deviceClassMappingssources.
- If you disable
Upgrade CRDs and controller (adjust to your install method — kubectl manifests or Helm):
kubectl apply --server-side -f https://github.com/kubernetes-sigs/kueue/releases/download/v0.21.0/manifests.yaml- Or via Helm, update the chart and merge
managerConfigvalues carefully:
helm repo update
helm upgrade kueue kueue/kueue \
--namespace kueue-system \
--version 0.21.0 \
--reuse-valuesIf your current values put unknown keys directly under managerConfig, remove them first — only mode, structuredOverrides, and controllerManagerConfigYaml are valid. To adopt structured overrides, set managerConfig.mode: structured explicitly and move your customizations into managerConfig.structuredOverrides in the values passed to --reuse-values.
- If you use
kueuectlto manage borrow-only flavors, add an explicit zero nominal quota, e.g.--nominal-quota "alpha:cpu=0" --borrowing-limit "alpha:cpu=4".
Verify
# Confirm controller is running the new version
kubectl -n kueue-system get deployment kueue-controller-manager -o jsonpath='{.spec.template.spec.containers[0].image}'
# Confirm CRDs no longer store v1beta1
kubectl get crd clusterqueues.kueue.x-k8s.io -o jsonpath='{.status.storedVersions}'
# Check controller logs for feature-gate startup errors
kubectl -n kueue-system logs deployment/kueue-controller-manager | grep -i -E 'feature|fatal'
# Spot-check a ClusterQueue is Active
kubectl get clusterqueue -o wideCommon Issues
- CRD apply rejected:
status.storedVersionsstill listsv1beta1— run the migration script and patch storedVersions before re-applying CRDs. - Controller manager crash loop: a disabled parent feature gate (
KueueDRAIntegration,FairSharingVerifyFinalTargets) left a dependent gate enabled — align both. - ClusterQueue stuck inactive: duplicate
deviceClassMappingssources, or a borrow-only flavor missing an explicit zero--nominal-quota. - MultiKueue quota drift:
MultiKueueConfig.spec.quotaManagementis now ignored; migrate toMultiKueueCapacityProviderConfig+DynamicQuotaOrchestratorif you relied on automated manager quota sync.
Best Practices
- Read the
v0.19.0andv0.20.0release notes too if you’re jumping from an older minor version — Kueue explicitly requires reviewing each crossed minor release. - Run the v1beta2 migration and CRD storedVersions patch in a maintenance window, separate from the controller image upgrade, so you can verify each step.
- Pin Helm
managerConfig.modeexplicitly in your values file going forward to avoid ambiguity between YAML and structured overrides on future upgrades. - After upgrading, grep controller logs for feature-gate dependency errors before declaring the rollout healthy.
Book by Grzegorz Stencel & Luca Berton
Kubernetes Recipes
- Paperback · eBook
- Apress
- 750 pages
100+ production-ready patterns with detailed explanations, best practices, and copy-paste YAML. Everything in one place.
Learn by Doing
CopyPasteLearn — Hands-on Cloud & DevOps CoursesMaster Kubernetes, Ansible, Terraform, and MLOps with interactive, copy-paste-run lessons. Start free.
Browse Courses →🎓 Deepen Your Skills — Hands-on Courses
Courses by CopyPasteLearn.com — Learn IT by Doing
Book by Grzegorz Stencel & Luca Berton
Kubernetes Recipes
- Paperback · eBook
- Apress
- 750 pages
This recipe is from Kubernetes Recipes, our 750-page practical guide with hundreds of production-ready patterns.
