PodFailurePolicy
PodFailurePolicy describes how failed pods influence the backoffLimit.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/batch.api.k8s.io/PodFailurePolicy_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/batch.api.k8s.io/PodFailurePolicy_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
rulesarrayRequiredA list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.