Changes since v0.19.14:
Actions Required Before Upgrading
(No, really, you MUST read this before you upgrade)
-
Minor releases: Review the
.0release notes for each new minor version you cross; see:v0.18.0,v0.19.0. -
Patch releases: Review the patch release notes leading up to this version, but only within this minor release line; see:
v0.19.1,v0.19.2,v0.19.3,v0.19.4,v0.19.5,v0.19.6,v0.19.7,v0.19.8,v0.19.9,v0.19.10,v0.19.11,v0.19.12,v0.19.13,v0.19.14. -
Observability: Aligned ConcurrentAdmission controller logs with the logging policy. Per-object logs moved from level 2 to level 3, evictions are logged after they are saved, variant creation failures are logged as errors, and log keys were renamed (
flavortoresourceFlavor,VarianttoadmittedVariant).If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19136. To keep the per-object logs, set the log level to 3 or higher. (#19195, @JanKaczmarski)
-
Observability: Aligned LeaderWorkerSet and ProvisioningRequest controller logs with the logging policy. Per-object logs moved from level 2 to level 3, LeaderWorkerSet results are logged after they are saved, and log keys were renamed (
leaderworkersettoleaderWorkerSet,statefulsettostatefulSet,req/requestName/prNametoprovisioningRequest,checktoadmissionCheck).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19137. To keep the per-object logs, set the log level to 3 or higher. (#19199, @JanKaczmarski)
- Observability: Aligned MultiKueue controller and adapter logs with the logging policy. Watch loss and GC lifecycle logs moved to level 1, per-object logs moved from level 2 to level 3, handler failures are logged as errors, duplicate error logs were removed, and log keys were renamed (
cluster/remoteClusterand per-callremotetoworkerCluster;cluster1/cluster2toworkerCluster/otherWorkerCluster;membertocomponentWorkload;leaderworkersettoleaderWorkerSet;observedWorkloadName/currentWorkloadNametoobservedWorkload/currentWorkload;name/namespaceof external-framework objects toremoteObjectandjob;remoteCQ/remoteLQ/remoteWltoremoteClusterQueue/remoteLocalQueue/remoteWorkload;clusterNametomultiKueueCluster;kindtowatchKind;clusterprofiletoclusterProfile;ownerKeytoowner;adapterKeytoownerGVK; FS watchernametopath).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19135. To keep the per-object logs, set the log level to 3 or higher. (#19193, @JanKaczmarski)
- Observability: Aligned
kueue-importer, experimental controllers (kueue-populator,kueue-priority-booster), andkueuevizbackend logs with the logging policy. Startup and import/check summary logs moved to level 1, per-object and page-listing logs moved from level 2 to level 3, write transitions are logged after they succeed, duplicate error logs were removed,kueuevizCORS validation now logs viaslog, and log keys were renamed (errtoerrorinkueue-importer).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19207. To keep the per-object logs, set the log level to 3 or higher. (#19223, @JanKaczmarski)
- Observability: Aligned logs of small, DQO/capacity, and job integration controllers with the logging policy. Reconcile logs moved to level 3, failures to restore PodSet info are logged at level 1, a failure to count ready SparkApplication executors is logged as an error, and log keys were renamed (
pod_counttopodCount,oldCount/newCounttopreviousCount/count).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19138. To keep the per-object logs, set the log level to 3 or higher. (#19197, @JanKaczmarski)
- Observability: Aligned remaining job webhooks (
JobSet,MPIJob,RayJob,SparkApplication,TrainJob),jobframework, and core/scheduler logs with the logging policy. Job webhook validation logs moved from level 0 to level 5, startup notices moved to level 1, per-object annotation parse and moved to level 3 (post-write), duplicate error logs were removed, object references use structuredklogformatting, and log keys were renamed (localQueueNametolocalQueue,oldManagedBytopreviousManagedBy,oldLimits/newLimitstopreviousLimits/limits,oldWorkloadSlice/newWorkloadSlice/oldClusterQueuetopreviousWorkloadSlice/workloadSlice/previousClusterQueue,queueA/queueBtolocalQueueA/localQueueB).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19210. To keep the per-object logs, set the log level to 3 or higher. (#19228, @JanKaczmarski)
- Observability: Aligned scheduler cache and queue manager logs with the logging policy. Negative pod-count anomalies and DRA reconcile channel startup logs moved to level 1, per-object cache and queue logs moved from level 2 to level 3 or higher, duplicate error logs were removed, object references use structured
klogformatting, and log keys were renamed (flavor/tasFlavortoresourceFlavor,queuetolocalQueue,topologyNametotopology,domaintodomainID,clusterqueuetoclusterQueue,missing annotationtoannotation,oldStatus/newStatustopreviousStatus/status,existingAssignment/newAssignmenttopreviousAssignment/assignment,qExiststolocalQueueExists).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19205. To keep the per-object logs, set the log level to 3 or higher. (#19227, @JanKaczmarski)
- Observability: Aligned shared package (
config,debugger,features,podset,util,workload) logs with the logging policy. Startup, feature-gate, certificate bootstrap, leader-transition, and unexpected-state logs moved to level 1, orphaned workload completion is logged after the write at level 3, expectation traces moved to level 4, duplicate error logs were removed, object references use structuredklogformatting, and log keys were renamed (Assigned AdmissionCheckstoadmissionChecks,oldValue/newValuetopreviousValue/value).
If your dashboards, alerts or log queries depend on Kueue log messages, keys or verbosity levels, review them before upgrading. For the complete list of logging changes, see #19206. To keep the per-object logs, set the log level to 3 or higher. (#19225, @JanKaczmarski)
- Observability: Aligned the
roletrackerstructured log key with the logging policy by renamingreplica-roletoreplicaRoleacross controller and webhook logs.
If your dashboards, alerts or log queries filter on the replica-role log key, update them to replicaRole before upgrading. (#19217, @JanKaczmarski)
- Observability: Updated logging for TAS controllers. Routine per-object reconcile and event logs moved from level 2 to 3, eviction and pod-ungate logs now run after writes succeed, duplicate error logs were removed, and some log keys were renamed (
flavortoresourceFlavor,ResourceFlavorstoresourceFlavors,podset/podSetNametopodSet,domaintodomainID,oldReady/oldLevelstoprevious*).
If your dashboards, alerts, or log queries depend on TAS log messages, keys, or levels, review them before upgrading. Set the log level to 3 or higher to keep per-object reconcile and event logs. (#19191, @JanKaczmarski)
- Observability: Updated logging for manager startup, DRA, elastic jobs, core controllers (
AdmissionCheck,ClusterQueue,ResourceFlavor), and MultiKueue (AdmissionCheck,IncrementalDispatcher). Routine per-object logs moved from level 2 to 3, startup logs moved to level 1, duplicate error logs were removed, and some log keys were renamed.
If your dashboards, alerts, or log queries depend on Kueue log messages, keys, or levels, review them before upgrading (see #19034). Set the log level to 3 or higher to keep per-object reconcile and event logs. (#19185, @JanKaczmarski)
- Observability: Updated logging for the
Cohort,LocalQueue, andWorkloadPriorityClasscontrollers. Routine per-object logs moved from level 2 to 3, duplicate andV(2).Errorlogs were removed, and some log keys were renamed (oldValuetopreviousValue,newPrioritytopriority).
If your dashboards, alerts, or log queries depend on Kueue log messages, keys, or levels for these controllers, review them before upgrading. Set the log level to 3 or higher to keep per-object reconcile and event logs. (#19186, @JanKaczmarski)
- Observability: Updated logging for the
Job,Pod, andStatefulSetintegrations. Routine per-object logs moved from level 2 to 3, setup logs moved to level 1, pod transition logs now run after writes succeed, duplicate andV(2).Errorlogs were removed, and some log keys were renamed (statefulset,podName,workloadName,oldStatus,old.parallelism,APIVersion,ControllerReference).
If your dashboards, alerts, or log queries depend on Kueue log messages, keys, or levels for these integrations, review them before upgrading. Set the log level to 3 or higher to keep per-object reconcile and event logs. (#19189, @JanKaczmarski)
Changes by Kind
Bug or Regression
- AFS: Fixed a bug where a LocalQueue whose ClusterQueue was inactive, for example on Hold, stopped sampling its consumed usage, so a Workload that finished or was evicted during that time was undercounted after the ClusterQueue became active again. (#19697, @Ganto12)
- ClusterQueue: Fixed a bug where deleting a ClusterQueue could stay blocked by its
resource-in-usefinalizer when its LocalQueue was deleted before a Workload that the scheduler was admitting. Kueue now rechecks the ClusterQueue when such a Workload is deleted. (#19160, @ivnovakov) - DRA: Fixed CEL selectors on
device.allowMultipleAllocationsin ResourceClaimTemplates and indeviceClassMappingsdevice selectors. A selector that requires the field now matches devices that allow multiple allocations, instead of no device. (#19170, @sohankunkerkar) - DRA: Fixed a bug where a Workload whose ResourceClaimTemplate has several device requests with CEL selectors could stay pending with "insufficient matching devices", even when the cluster has enough matching devices for all the requests at once. (#19282, @thc1006)
- Fixed a bug where RuntimeClass specific overhead is not accounted when PodSet has other overheads. (#18808, @sheldon-lang)
- Fixed a bug where evicted Workloads without an owner (such as MultiKueue worker Workloads before admission) stayed stuck holding quota reservation indefinitely instead of releasing quota and retrying. (#19749, @JanKaczmarski)
- Fixed the following 2 bugs:
- MultiKueue: A job in a namespace that doesn't match
managedJobsNamespaceSelectorgotspec.managedByset to MultiKueue when its LocalQueue used a MultiKueue ClusterQueue, so the job never ran. - A job with a
kueue.x-k8s.io/queue-namelabel in a namespace that doesn't matchmanagedJobsNamespaceSelectorwas suspended by the webhook and never unsuspended because Kueue doesn't manage jobs in that namespace. (#19490, @YevheniiOrlovEngineering)
- MultiKueue: A job in a namespace that doesn't match
- FlavorFungibility: Fixed a bug where a Workload that needed to borrow one resource and preempt for another in the same flavor was never admitted with
preference: PreemptionOverBorrowing, because no lower-priority Workloads were preempted. WithwhenCanPreempt: MayStopSearch, such a flavor also no longer stops the search when a later flavor fits without borrowing. (#18823, @YevheniiOrlovEngineering) - Importer: Fixed 403 Forbidden errors when creating Workloads in-cluster under OwnerReferencesPermissionEnforcement. (#19717, @weizhoublue)
- Importer: Preserve concurrent LocalQueue assignments and leave same-name replacement Pods untouched when retrying a label update. (#19700, @rishabhraj1572)
- KueueViz: The ClusterQueue detail page now shows LocalQueue links even when reservation data is empty. (#19507, @rishabhraj1572)
- MultiKueue: Fix a bug where a Pod that had ephemeral containers added (for example, by
kubectl debug) before dispatch was never created on the worker cluster. (#19252, @vladikkuzn) - MultiKueue: Fixed a bug where a JAXJob dispatched by MultiKueue could be rejected on the worker cluster with
Is not supported for "kubeflow.org/v1, Kind=JAXJob", because JAXJob was missing from the allowlist of job kinds that accept a prebuilt Workload. (#19321, @nikhil3495) - MultiKueue: Fixed a bug where an elastic job could be stopped and restarted on the worker cluster when two of its scale-ups were admitted there in quick succession. For example, a RayJob scaled by the Ray autoscaler lost its RayCluster. (#19555, @kevin85421)
- Observability: Fixed a bug where the metrics of a deleted LocalQueue, such as
kueue_local_queue_evicted_workloads_total, could reappear after the deletion and stay, if Kueue recorded them for a Workload while the LocalQueue was being deleted. (#19139, @thc1006) - ProvisioningRequest: Fix a bug where a Pod or pod group with ephemeral containers (for example added with kubectl debug) remained pending when the ClusterQueue had a ProvisioningRequest admission check, because the PodTemplate created for the ProvisioningRequest was rejected. (#19253, @vladikkuzn)
- ProvisioningRequest: Fixed a bug that caused 403 Forbidden errors when updating ProvisioningRequest PodTemplate ownership on clusters with OwnerReferencesPermissionEnforcement enabled. Now Kueue updates PodTemplate ownership without these errors. (#19651, @weizhoublue)
- SparkApplication: Fixed a bug that caused Workload creation to fail with a forbidden error when the cluster enforces OwnerReferencesPermissionEnforcement and the SparkApplication owner reference sets blockOwnerDeletion. Now Kueue creates the Workload, and the SparkApplication is unsuspended. (#19562, @Vedant-Deshpande)
- StatefulSet: Fixed a bug where a pending Workload kept the old TAS topology request after the Pod template topology annotation changed, including on scale-up from zero replicas. (#19338, @gola)
- TAS & ElasticJobsViaWorkloadSlices: Fixed a bug where ElasticJob ungating ignored the
kueue.x-k8s.io/pod-index-offsetannotation on grouped PodSets, causing rank-based ordering to fall back to name order. (#19667, @mykysha) - TAS: Fixed a panic and missing eviction metrics during multi-node failure eviction when custom metric labels are configured. (#19579, @weizhoublue)
- Workloads: Fixed a bug that caused Kueue to admit a Workload when its Pods exceeded a LimitRange
maxLimitRequestRatio. Now Kueue marks the Workload inadmissible with the LimitRange message, and the Workload does not reserve quota. (#19257, @Zhuoxi2000)
Other (Cleanup or Flake)
- CLI: Fixed
kueuectl list clusterqueueandkueuectl list localqueueto report unexpected positional arguments as errors. (#19284, @iluv7) - CLI: Reduced redundant API requests in
kueuectl list workloadby reusing LocalQueue, ClusterQueue pending Workloads, and API discovery results across result pages. (#19369, @fat-catTW) - CLI:
kueuectl list workload,kueuectl list resourceflavor, andkueuectl list podsnow report unexpected positional arguments as errors. (#19308, @iluv7)