Skip to content

Commit

Permalink
Restart volcano job on pod failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Davidson committed Oct 2, 2023
1 parent 2fc0f27 commit 2dbc456
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/perftest/templates/_macros.j2
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ spec:
queue: {{ settings.queue_name }}
priorityClassName: {{ benchmark.status.priority_class_name }}
policies:
- event: PodFailed
action: RestartJob
- event: PodEvicted
action: RestartJob
{{ caller() | indent(2) }}
Expand Down

0 comments on commit 2dbc456

Please sign in to comment.