Skip to content

Commit

Permalink
Update DWS example to contain maxRunDurationSeconds annotation in the…
Browse files Browse the repository at this point in the history
… Job definition (#446)

Update batch/v1 Job definition to contain maxRunDurationSeconds annotation
  • Loading branch information
PBundyra committed Mar 29, 2024
1 parent b58e47c commit 9df56e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Expand Up @@ -5,7 +5,7 @@ available [here](https://cloud.google.com/kubernetes-engine/docs/how-to/provisio

Files included:

* kueue-manifests.yaml - [Kueue](https://kueue.sigs.k8s.io/) configuration files with ProvisioningRequest and DWS support enabled.
* dws-queue.yaml - Kueue's Cluster and Local queues with ProvisioningRequest and DWS support enabled.
* job.yaml - Sample job that requires GPU and uses DWS-enabled queue.
* `kueue-manifests.yaml` - [Kueue](https://kueue.sigs.k8s.io/) configuration files with ProvisioningRequest and DWS support enabled.
* `dws-queue.yaml` - Kueue's Cluster and Local queues with ProvisioningRequest and DWS support enabled.
* `job.yaml` - Sample job that requires GPU and uses DWS-enabled queue. Contains optional annotation ` provreq.kueue.x-k8s.io/maxRunDurationSeconds` which sets `maxRunDurationSeconds` for the created ProvisioningRequest

Expand Up @@ -5,6 +5,8 @@ metadata:
namespace: default
labels:
kueue.x-k8s.io/queue-name: dws-local-queue
annotations:
provreq.kueue.x-k8s.io/maxRunDurationSeconds: "600"
spec:
parallelism: 1
completions: 1
Expand Down

0 comments on commit 9df56e3

Please sign in to comment.