Skip to content

Commit

Permalink
Correct Suspend/Resume backoffLimit for Pathways
Browse files Browse the repository at this point in the history
  • Loading branch information
SujeethJinesh committed Jul 8, 2024
1 parent ed4a896 commit c3c5a29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class CapacityType(enum.Enum):
labels:
xpk.google.com/workload: {args.workload}
spec:
backoffLimit: 4
backoffLimit: {backoff_limit}
completions: {system.vms_per_slice}
parallelism: {system.vms_per_slice}
template:
Expand Down Expand Up @@ -6206,6 +6206,7 @@ def workload_create(args) -> None:
].resource_type,
local_queue_name=_LOCAL_QUEUE_NAME,
autoprovisioning_args=autoprovisioning_args,
backoff_limit=system.vms_per_slice * 4,
)
else:
container, debugging_dashboard_id = get_user_workload_container(
Expand Down

0 comments on commit c3c5a29

Please sign in to comment.