Skip to content

Commit

Permalink
add backoffLimit to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsgstrabo committed Dec 13, 2024
1 parent 4e46942 commit 2f0a48b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public-site/docs/radix-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1444,6 +1444,7 @@ Defines the number of times a job will be restarted if its container exits in er
spec:
jobs:
- name: compute
backoffLimit: 5
failurePolicy:
rules:
- action: FailJob
Expand Down Expand Up @@ -1474,9 +1475,6 @@ Possible values for `action` are:

`failurePolicy` can be configured on the job level, or in `environmentConfig` for a specific environment. Configuration in `environmentConfig` will override all rules defined on the job level.




### `volumeMounts`

```yaml
Expand Down Expand Up @@ -1673,6 +1671,7 @@ spec:
- name: compute
environmentConfig:
- environment: prod
backoffLimit: 5
failurePolicy:
rules:
- action: FailJob
Expand Down

0 comments on commit 2f0a48b

Please sign in to comment.