@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-24T22:49:58.426Z") @Stability(value=Stable) public interface ProbeOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProbeOptions.Builder
A builder for
ProbeOptions |
static class |
ProbeOptions.Jsii$Proxy
An implementation for
ProbeOptions |
| Modifier and Type | Method and Description |
|---|---|
static ProbeOptions.Builder |
builder() |
default Number |
getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
default org.cdk8s.Duration |
getInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated.
|
default org.cdk8s.Duration |
getPeriodSeconds()
How often (in seconds) to perform the probe.
|
default Number |
getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.
|
default org.cdk8s.Duration |
getTimeoutSeconds()
Number of seconds after which the probe times out.
|
@Stability(value=Stable) @Nullable default Number getFailureThreshold()
Defaults to 3. Minimum value is 1.
Default: 3
@Stability(value=Stable) @Nullable default org.cdk8s.Duration getInitialDelaySeconds()
Default: - immediate
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes@Stability(value=Stable) @Nullable default org.cdk8s.Duration getPeriodSeconds()
Default to 10 seconds. Minimum value is 1.
Default: Duration.seconds(10) Minimum value is 1.
@Stability(value=Stable) @Nullable default Number getSuccessThreshold()
Must be 1 for liveness and startup. Minimum value is 1.
Default: 1 Must be 1 for liveness and startup. Minimum value is 1.
@Stability(value=Stable) @Nullable default org.cdk8s.Duration getTimeoutSeconds()
Defaults to 1 second. Minimum value is 1.
Default: Duration.seconds(1)
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes@Stability(value=Stable) static ProbeOptions.Builder builder()
ProbeOptions.Builder of ProbeOptionsCopyright © 2021. All rights reserved.