Skip to content

Commit

Permalink
Add CheckPod tasks to k8s job and jobset tests
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Chen <[email protected]>
  • Loading branch information
yuanchen8911 committed May 10, 2024
1 parent c132709 commit 9ef26ee
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resources/tests/k8s/test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ tasks:
cpu: 100m
memory: 512M
gpu: 8
- id: status
type: CheckPod
params:
refTaskId: job
status: Completed
nodeLabels:
nodeType: gpu
timeout: 5s
8 changes: 8 additions & 0 deletions resources/tests/k8s/test-jobset-with-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ tasks:
cpu: 100m
memory: 512M
gpu: 8
- id: status
type: CheckPod
params:
refTaskId: jobset
status: Completed
nodeLabels:
nodeType: gpu
timeout: 5s
8 changes: 8 additions & 0 deletions resources/tests/k8s/test-jobset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ tasks:
cpu: 100m
memory: 512M
gpu: 8
- id: status
type: CheckPod
params:
refTaskId: jobset
status: Completed
nodeLabels:
nodeType: gpu
timeout: 5s

0 comments on commit 9ef26ee

Please sign in to comment.