Skip to content

Commit

Permalink
Update KubeJobFailed.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwille authored Jan 15, 2024
1 parent 127f35e commit ce9d346
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/runbooks/kubernetes/KubeJobFailed.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ Failure of processing of a scheduled task.
- See [Job patterns](https://kubernetes.io/docs/tasks/job/)
- redesign job so that it is idempotent (can be re-run many times which will
always produce the same output even if input differes)

- clean up failed jobs, e.g. using `kubectl`:
```bash
k delete job --context my-context -n my-namespace --field-selector status.successful!=1
```

0 comments on commit ce9d346

Please sign in to comment.