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.
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-namefield undermetadata.annotations. However, according to the official OSS Kueue documentation (Labels and Annotations), this field must be ametadata.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.