Files
c/kubernetes/docs/v1_pod_failure_policy_rule.md
Kubernetes Prow Robot 6d68c83d69 Automated openapi generation from release-1.29
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2024-01-23 12:51:46 +00:00

1.6 KiB

v1_pod_failure_policy_rule_t

Properties

Name Type Description Notes
action char * Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
on_exit_codes v1_pod_failure_policy_on_exit_codes_requirement_t * [optional]
on_pod_conditions list_t * Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. [optional]

[Back to Model list] [Back to API list] [Back to README]