Skip to content

YAML files with Kueue definition incorrectly define the queue-name as an annotation and not a label #1898

@cortespao

Description

@cortespao

This issue proposes to fix an error in the following samples:

These samples are rendered in the Google Cloud documentation tutorial Deploy a batch system using Kueue, in the YAML example for creating a Job (specifically in the section "Create Jobs and observe the admitted workloads", referencing job-team-a.yaml).

The YAML snippets in the tutorial place the kueue.x-k8s.io/queue-name field under metadata.annotations. However, according to the official OSS Kueue documentation (Labels and Annotations), this field must be a metadata.label.

Using it as an annotation means Kueue will not recognize the Job's intended queue, causing the Jobs to not be admitted to the LocalQueues as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions