Interface NodeKubeletConfig.CrashLoopBackOffConfigOrBuilder (2.96.0)

public static interface NodeKubeletConfig.CrashLoopBackOffConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxContainerRestartPeriod()

public abstract String getMaxContainerRestartPeriod()

Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.

The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details.

string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The maxContainerRestartPeriod.

getMaxContainerRestartPeriodBytes()

public abstract ByteString getMaxContainerRestartPeriodBytes()

Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.

The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details.

string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for maxContainerRestartPeriod.