Package org.cdk8s.plus25.k8s
Interface PodFailurePolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodFailurePolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.769Z") @Stability(Stable) public interface PodFailurePolicy extends software.amazon.jsii.JsiiSerializable
PodFailurePolicy describes how failed pods influence the backoffLimit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodFailurePolicy.BuilderA builder forPodFailurePolicystatic classPodFailurePolicy.Jsii$ProxyAn implementation forPodFailurePolicy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PodFailurePolicy.Builderbuilder()List<PodFailurePolicyRule>getRules()A list of pod failure policy rules.
-
-
-
Method Detail
-
getRules
@Stability(Stable) @NotNull List<PodFailurePolicyRule> getRules()
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.
-
builder
@Stability(Stable) static PodFailurePolicy.Builder builder()
- Returns:
- a
PodFailurePolicy.BuilderofPodFailurePolicy
-
-