Skip to content

Commit

Permalink
trigger rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Dec 13, 2023
1 parent f9e63e4 commit 1f8f714
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operator_engine/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,11 @@ def create_configure_job(body, logger):
job["spec"]["template"]["spec"]["containers"][0]["volumeMounts"].append(
volume_mount
)

job["spec"]["template"]["spec"]["containers"][0]["resources"] = dict()
job["spec"]["template"]["spec"]["containers"][0]["resources"]["limits"] = dict()
job["spec"]["template"]["spec"]["containers"][0]["resources"]["limits"]["nvidia.com/gpu"]="1"

job = jobs_common_params(job, logger)
create_job(logger, body, job)

Expand Down

0 comments on commit 1f8f714

Please sign in to comment.