PodFailurePolicy describes how failed pods influence the backoffLimit.
| Name | Type | Description | Notes |
|---|---|---|---|
| rules | List[V1PodFailurePolicyRule] | A 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. |
from kubernetes.client.models.v1_pod_failure_policy import V1PodFailurePolicy
# TODO update the JSON string below
json = "{}"
# create an instance of V1PodFailurePolicy from a JSON string
v1_pod_failure_policy_instance = V1PodFailurePolicy.from_json(json)
# print the JSON string representation of the object
print(V1PodFailurePolicy.to_json())
# convert the object into a dict
v1_pod_failure_policy_dict = v1_pod_failure_policy_instance.to_dict()
# create an instance of V1PodFailurePolicy from a dict
v1_pod_failure_policy_from_dict = V1PodFailurePolicy.from_dict(v1_pod_failure_policy_dict)