live wire
▸PLATFORM · IBM targets Dec. 4 for four zCX OpenShift add-ons on z/OS, including Quay and Platform PlusIBM Documentation▸SECURITY · Red Hat updates Cryostat 4.3.0 container images on RHEL 9 in RHSA-2026:105018Red Hat Product Errata▸SECURITY · Red Hat releases Quay 3.16.8 container images in Critical advisory RHSA-2026:108012Red Hat Product Errata▸PLATFORM · OpenShift Migration Advisor v0.34.0 exposes RDM disk mappings and storage array identityOpenShift Migration Advisor release notes▸CORRECTION · Apache Camel 4.24.0 fixes 53 published vulnerabilities, not 52 as stated in wire item 1419Apache Camel release notes▸PLATFORM · Red Hat shows how to forecast VM capacity and assess memory overcommit on OpenShift VirtualizationRed Hat Developer▸PLATFORM · Red Hat Satellite 6.20 enters limited availability with Podman-based deployment on RHEL 10Red Hat Blog▸PLATFORM · Red Hat compares SELinux enforcement and application allowlisting on paired RHEL 9.8 hostsRed Hat Developer▸PLATFORM · Red Hat shows how to deploy a sealed RHEL image on EC2 with custom Secure Boot keysRed Hat Developer▸JAVA · Quarkus JMS adds typed destinations, annotation-driven listeners and XA transactions for Quarkus 4 (Dec. 1)Quarkus Blog▸SECURITY · OpenShift 4.14.79 ships updated container images under RHSA-2026:104058Red Hat Product Errata▸SECURITY · RHSA-2026:103513: Red Hat releases OpenShift 4.12.104 with security and bug fixesRed Hat Product Errata▸SECURITY · RHSA-2026:103811: Red Hat ships an Important-rated OpenShift 4.16.76 security updateRed Hat Product Errata▸SECURITY · RHSA-2026:107608: RHEL 8 kernel security updateRed Hat Product Errata▸PLATFORM · IBM targets Dec. 4 for four zCX OpenShift add-ons on z/OS, including Quay and Platform PlusIBM Documentation▸SECURITY · Red Hat updates Cryostat 4.3.0 container images on RHEL 9 in RHSA-2026:105018Red Hat Product Errata▸SECURITY · Red Hat releases Quay 3.16.8 container images in Critical advisory RHSA-2026:108012Red Hat Product Errata▸PLATFORM · OpenShift Migration Advisor v0.34.0 exposes RDM disk mappings and storage array identityOpenShift Migration Advisor release notes▸CORRECTION · Apache Camel 4.24.0 fixes 53 published vulnerabilities, not 52 as stated in wire item 1419Apache Camel release notes▸PLATFORM · Red Hat shows how to forecast VM capacity and assess memory overcommit on OpenShift VirtualizationRed Hat Developer▸PLATFORM · Red Hat Satellite 6.20 enters limited availability with Podman-based deployment on RHEL 10Red Hat Blog▸PLATFORM · Red Hat compares SELinux enforcement and application allowlisting on paired RHEL 9.8 hostsRed Hat Developer▸PLATFORM · Red Hat shows how to deploy a sealed RHEL image on EC2 with custom Secure Boot keysRed Hat Developer▸JAVA · Quarkus JMS adds typed destinations, annotation-driven listeners and XA transactions for Quarkus 4 (Dec. 1)Quarkus Blog▸SECURITY · OpenShift 4.14.79 ships updated container images under RHSA-2026:104058Red Hat Product Errata▸SECURITY · RHSA-2026:103513: Red Hat releases OpenShift 4.12.104 with security and bug fixesRed Hat Product Errata▸SECURITY · RHSA-2026:103811: Red Hat ships an Important-rated OpenShift 4.16.76 security updateRed Hat Product Errata▸SECURITY · RHSA-2026:107608: RHEL 8 kernel security updateRed Hat Product Errata
upstreambeat.ai
guideAI

Red Hat turns Spark submission races into explicit Kueue quotas

A new OpenShift AI walkthrough shows how to admit whole Spark applications before their driver and executor pods consume cluster capacity.

By The News Desk· Nov 4, 2026the quick take — two AI hosts go live when you do

Red Hat has published a practical pattern for putting Spark applications behind Kueue admission control on OpenShift AI, replacing a race for individual pods with an inspectable queue and declared CPU and memory quotas.

The walkthrough separates three responsibilities. Kueue decides whether an application’s requested resources fit within quota, the Kubeflow Spark Operator creates driver and executor pods after admission, and the Kubernetes scheduler places those pods on nodes.

How the admission path works

When a user submits a labeled SparkApplication, Kueue’s webhook suspends it and creates a Workload representing its resource request. Kueue compares that request with a ClusterQueue. If quota is available, it admits the workload and removes the suspension; only then does the Spark Operator create the driver and executors. When the application finishes, the quota is released for the next workload.

That sequencing changes the meaning of “pending.” A Spark application may be waiting normally for quota rather than failing to schedule. Red Hat recommends checking Kueue workload conditions before diagnosing pod events, because Kueue quota and Kubernetes node capacity are separate constraints.

The example creates a self-managed queue for one project with three CPUs and 4 GiB of memory. A sample driver plus two executors consumes the available CPU quota, so a second copy waits without creating pods until the first completes.

The configuration choices that matter

The article installs the external Red Hat build of Kueue operator, keeps the OpenShift AI DataScienceCluster Kueue component unmanaged, and enables the managed Spark Operator. It warns that setting Kueue to managed there selects a deprecated embedded distribution that conflicts with the external operator.

Administrators must also add SparkApplication to Kueue’s integration frameworks and grant RBAC for finalizer management. A missing permission can leave an application suspended without a corresponding workload; the walkthrough points to blockOwnerDeletion errors in the Kueue controller log as the diagnostic signal.

Red Hat favors explicit ResourceFlavor, ClusterQueue and LocalQueue resources over auto-created queues because their quota boundaries can be reviewed through GitOps. Each Spark application still needs a kueue.x-k8s.io/queue-name label: labeling the namespace as managed does not stop an unlabeled application from bypassing the queue.

Operational limits

Preemption is the sharp edge. Suspending a running Spark application deletes its driver and executor pods; Kueue does not checkpoint it. The article recommends starting with non-preemptive quotas unless jobs use persistent output, idempotent transformations and external checkpoints.

Dynamic executor allocation is not supported in this setup, so teams must use a fixed executor count. Quota is charged from declared requests rather than observed utilization, which makes explicit driver and executor requests part of the platform contract.

The smallest useful test is two identical applications: the first should run, the second should remain queued without pods, and the second should start automatically after the first releases quota. That verifies the admission path before platform teams apply it to production Spark workloads.

Filed by The News Desk. Corrections: desk@upstreambeat.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.