Where Kubernetes Native Gang Scheduling Can Be Turned On
Gang scheduling reached beta in Kubernetes v1.37 with its GenericWorkload gate switched off. EKS gives you no parameter to set it, GKE has a one-way beta API switch, and Kueue stays the production path.
By VVV Ops ·
Gang scheduling reached beta in Kubernetes v1.37, released on 26 August 2026, and the feature gate behind it, GenericWorkload, still ships switched off. The feature gates reference lists it as false at beta from 1.37, and the gang scheduling concept page says "Beta since Kubernetes v1.37; disabled by default". That one default decides where you can use it. Most coverage of the release walks through the Workload and PodGroup objects and stops there. The harder question for a platform team is whether the control plane you pay for lets you set the gate at all, and on Amazon EKS today it does not.
This post covers that question for EKS, GKE and self-managed clusters, plus a small gang you can apply once the gate is on. It is the opposite case to native HPA scale to zero, another v1.37 beta, which shipped enabled and so reached EKS clusters with the upgrade. For GPU device allocation, which is a separate problem from gang placement, see our device plugin to DRA migration guide.
What the v1.37 beta contains
The v1.37 workload-aware scheduling post (8 September 2026) lists the changes. The Workload and PodGroup APIs moved to scheduling.k8s.io/v1beta1. A PodGroup is now queued as one object instead of each member Pod being queued on its own. minCount became mutable, so a controller can shrink or grow a gang without touching Pods that are already placed. Workload-aware preemption moved under the same gate.
Several neighbours stay alpha, and they matter for planning. The WorkloadWithJob gate, which lets the Job controller create the Workload and PodGroup for you, is alpha since 1.36 and off by default. TopologyAwareWorkloadScheduling is alpha since 1.36, and CompositePodGroup, for gangs of gangs, is alpha since 1.37. On a cluster that only runs beta features, you create PodGroups yourself or through a controller you own.
The KEP's kep.yaml targets stable in v1.39, and the implementation history in the KEP README records a November 2026 change to stay in beta for v1.38. Plan on beta semantics through at least one more minor release.
Two switches on three components
Turning it on takes a gate and an API group. The KEP README names three components that read GenericWorkload: kube-apiserver, kube-scheduler and kube-controller-manager. The PodGroup API page also requires the scheduling.k8s.io/v1beta1 group, and upstream's API overview states that built-in beta API versions "are disabled by default and must be explicitly enabled in the kube-apiserver configuration".
A cluster with the gate off fails in two ways, and only one of them is loud. It rejects a PodGroup, because the kind is not served. It accepts a Job or Pod that references one and drops the reference. The KEP's notes on upgrade and rollback testing give the sequence: with the gate disabled, a Pod created with spec.schedulingGroup "is created successfully but without the schedulingGroup reference, resulting in immediate standard scheduling (one-by-one)". A training job that was meant to wait for all of its workers starts whichever ones fit. Check both switches before you trust a manifest:
# Is the API group served? Expect podgroups and workloads in the output.
kubectl api-resources --api-group=scheduling.k8s.io
# Is the gate on in kube-apiserver? 1 means enabled, 0 means disabled.
kubectl get --raw /metrics | grep 'kubernetes_feature_enabled{name="GenericWorkload"'
The metric check is the one GKE documents for reading feature gate state, and EKS exposes the same API server /metrics endpoint through kubectl get --raw.
Amazon EKS has five control plane knobs, none of them a gate
EKS now lets you change parts of the control plane through advanced Kubernetes control plane configuration, and the list of what you can change is short. The page lists five parameters: the scheduler's nodeResourcesFit.scoringStrategy, the HPA sync period, the terminated pod GC threshold, eventTtl and serviceNodePortRange. Each is constrained "to a validated range". There is no field for feature gates and none for --runtime-config.
The EKS version FAQ closes the other door: "New beta APIs aren't enabled in clusters by default", and "Alpha features aren't supported." The EKS 1.37 release notes cover HPA scale to zero, the SELinux mount default and the Auto Mode consolidation change, and they do not mention the Workload API. On EKS 1.37 today, native gang scheduling is unavailable whatever you put in your manifests.
That leaves the out-of-tree paths. Kueue admits a job only when quota, priority and topology allow it, and the Coscheduling plugin from scheduler-plugins installs as a second scheduler that holds Pods until the gang can bind. EKS runs the default scheduler for you, so the second-scheduler install is the one that applies. The same install page warns that two schedulers conflict when the cluster is short of resources and says running both "is not recommended in the production env", so treat Coscheduling on EKS as a stopgap for jobs whose Pods must bind together. If you run training on SageMaker HyperPod with the EKS orchestrator, HyperPod task governance added gang scheduling on 8 April 2026, with a console setting for how long to wait for pods to become ready.
GKE offers a beta API switch with a gap in the docs
GKE is more open, with one point its docs leave unanswered. The GKE feature gates page says "You can modify Kubernetes feature gates in GKE only with alpha clusters." An alpha cluster can take --alpha-cluster-feature-gates at creation, from the gcloud CLI only, but it expires after 30 days, gets no security updates, is not covered by the GKE SLA and cannot be upgraded. That is fine for a test and useless for a training platform.
The GKE beta APIs page is the interesting part. Its table lists scheduling.k8s.io/v1beta1/podgroups and scheduling.k8s.io/v1beta1/workloads as available for 1.37, with the note "You must enable both APIs at the same time, and you must ensure that nodes use the newly-enabled beta APIs."
gcloud container clusters update CLUSTER_NAME \
--enable-kubernetes-unstable-apis=scheduling.k8s.io/v1beta1/podgroups,scheduling.k8s.io/v1beta1/workloads \
--location=CONTROL_PLANE_LOCATION
Two cautions before you run that. First, enabling is one-way: "You cannot disable beta APIs that are already enabled on a cluster." Second, the page does not say whether enabling these two APIs also turns on GenericWorkload. For the 1.32 DRA APIs the same table says doing so "enables the Dynamic Resource Allocation Kubernetes beta feature"; the 1.37 row has no such sentence. The feature gates page adds that "Beta features are usually enabled by default in GKE", which still leaves room for either answer. We would enable the APIs on a throwaway Standard cluster first and read kubernetes_feature_enabled before touching a shared one.
Self-managed control planes and kind
On a control plane you run yourself, both switches are flags. Set --feature-gates=GenericWorkload=true on kube-apiserver, kube-scheduler and kube-controller-manager, and --runtime-config=scheduling.k8s.io/v1beta1=true on kube-apiserver. For a local test, kind maps both onto its cluster config:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
featureGates:
"GenericWorkload": true
runtimeConfig:
"scheduling.k8s.io/v1beta1": "true"
nodes:
- role: control-plane
- role: worker
- role: worker
Use a v1.37 node image. Teams that tried the alpha on 1.36 have upgrade chores, two of them from the KEP's upgrade section. Remove GangScheduling from your feature gate configuration, because it was merged into GenericWorkload. Delete every scheduling.k8s.io/v1alpha2 object before upgrading, because v1.37 no longer serves that version and offers no conversion back to it. The v1.37 post adds a third: WorkloadAwarePreemption was merged into GenericWorkload too, so remove that gate if you set it.
A four-pod gang to test with
With both switches on, a standalone PodGroup and an Indexed Job are enough to see the behaviour. The fields come from the v1beta1 PodGroup reference and the KEP's Job example.
# Illustrative: namespace, names and image are placeholders.
apiVersion: scheduling.k8s.io/v1beta1
kind: PodGroup
metadata:
name: trainer-gang
namespace: acme-training
spec:
schedulingPolicy:
gang:
minCount: 4
---
apiVersion: batch/v1
kind: Job
metadata:
name: trainer
namespace: acme-training
spec:
completions: 4
parallelism: 4
completionMode: Indexed
template:
spec:
schedulingGroup:
podGroupName: trainer-gang
restartPolicy: OnFailure
containers:
- name: worker
image: registry.example.internal/acme/trainer:1.0
resources:
requests:
cpu: "2"
Size the CPU request so only three of the four fit, and every Pod should stay Pending. On the scheduler side, the KEP lists scheduler_pending_entities{type="podgroup", queue="gated"} for groups waiting to assemble and scheduler_podgroup_schedule_attempts_total for attempts by result. On the object, the PodGroup's PodGroupInitiallyScheduled condition carries the reason Unschedulable when the gang cannot fit. Add a node and all four bind in the same cycle. If the Pods start one at a time instead, go back to the two checks above, because that is what a dropped schedulingGroup looks like.
Why Kueue stays in front for now
The native scheduler places a gang; it does not decide which gang should go next. The KEP lists "Bring fairness or multiple workload queues in kube-scheduler" as a non-goal and says "Kueue and Volcano.sh will continue to provide this." Quotas, priority between teams and admission based on topology stay with Kueue, whatever happens to the gate.
A Datadog post by David Lentz, republished on the CNCF blog on 12 November 2026, reaches the same conclusion from the operations side. The native features "ship disabled by default and still lack feature parity with Kueue and Coscheduling", topology-aware workload scheduling "remains alpha", and "Kueue and Coscheduling remain the production path for distributed training scheduling." The post's practical advice is to build monitoring on queue depth and gang assembly now, since those signals map onto the native APIs later.
Picking a path per platform
| Platform | Can you turn on GenericWorkload? | What we would run in production | |---|---|---| | EKS 1.37 | No. No gate or runtime-config parameter | Kueue. Coscheduling as a second scheduler only where Pods must bind together, with upstream's warning in mind | | GKE 1.37 | Beta APIs can be enabled per cluster, one-way; gate state unconfirmed in docs | Kueue; test the beta APIs on a disposable cluster | | GKE alpha cluster | The gate, yes, through --alpha-cluster-feature-gates; the docs do not say the beta API is served | Nothing; it expires after 30 days | | Self-managed 1.37 | Yes, flags on three components | Kueue in front, native gang behind it on clusters you can roll back |
For most teams on EKS the decision is already made: keep Kueue, and treat the native API as something to evaluate on a kind or self-managed cluster until AWS adds a parameter for it or the feature reaches GA with the gate on. On GKE, the beta API switch is worth one afternoon on a scratch cluster to learn whether the gate follows it.
If your training jobs start partial gangs, or you are deciding whether to drop the Coscheduling scheduler after an upgrade, talk to us. We would start with the two checks from this post on each cluster you run and with your Kueue admission wait times, since that pair shows whether a gang problem sits in the queue or in the scheduler.