Skip to content

Commit

Permalink
Mention label copying in the docs (#2558)
Browse files Browse the repository at this point in the history
* Mention label copying in the docs

* Update site/content/en/docs/concepts/workload.md

Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>

* Update site/content/en/docs/concepts/workload.md

Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>

* Explain the default behaviour

* Update site/content/en/docs/concepts/workload.md

Co-authored-by: Michał Woźniak <mimowo@users.noreply.github.com>

---------

Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
Co-authored-by: Michał Woźniak <mimowo@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 10, 2024
1 parent d8f2bd2 commit 9f36a46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/content/en/docs/concepts/workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ status:
When a Workload deactivated by All-or-nothing with ready Pods is re-activated,
the requeueState (`.status.requeueState`) will be reset to null.

## Replicate labels from Jobs into Workloads
You can configure Kueue to copy labels, at Workload creation, into the new Workload from the underlying Job or Pod objects. This can be useful for Workload identification and debugging.
You can specify which labels should be copied by setting the `labelKeysToCopy` field in the configuration API (under `integrations`). By default, Kueue does not copy any Job or Pod label into the Workload.


## What's next

- Learn about [workload priority class](/docs/concepts/workload_priority_class).
Expand Down

0 comments on commit 9f36a46

Please sign in to comment.