Skip to content

Commit

Permalink
Add commment describing host maintenance example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Edwins committed Sep 11, 2024
1 parent 1736c95 commit d097262
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/failure-policy/host-maintenance-event-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
echo "$i"
sleep 1
done
# This failure policy is triggered when a node undergoes host maintenace.
# In such a case, the pods are evicted and the job will fail with a condition
# of type DisruptionTarget.
podFailurePolicy:
rules:
- action: FailJob
Expand Down

0 comments on commit d097262

Please sign in to comment.