Skip to content

[KubeRay] "Gang Scheduling with RayJob and Kueue" tutorial only works without workers #57839

@fg91

Description

@fg91

Description

The tutorial Gang Scheduling with RayJob and Kueue shows how to integrate with Kueue and GKE's "dynamic workload scheduling" feature to achieve gang scheduling.

However, the tutorial should mention the constraint that this only works if the RayJob only has a head but no workers. Otherwise one gets this error:

 dmissionChecks:
  - lastTransitionTime: "2025-10-17T13:14:25Z"
    message: |-
      Error creating ProvisioningRequest "rayjob-rayjob-sleep-test-062a5-dws-prov-1": admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
      Violations details: {"[denied by provisioning-request-cr-validation]":["the queued provisioning feature currently supports only single PodSet per request"]}

Only having a single Pod for the head node alleviates the need for gang scheduling so this is unfortunately not really useful yet.

Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsAn issue or change related to documentationtriageNeeds triage (eg: priority, bug/not-bug, and owning component)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions