ServiceTemplateSpecContainerLivenessProbe

data class ServiceTemplateSpecContainerLivenessProbe(val failureThreshold: Int? = null, val grpc: ServiceTemplateSpecContainerLivenessProbeGrpc? = null, val httpGet: ServiceTemplateSpecContainerLivenessProbeHttpGet? = null, val initialDelaySeconds: Int? = null, val periodSeconds: Int? = null, val timeoutSeconds: Int? = null)

Constructors

constructor(failureThreshold: Int? = null, grpc: ServiceTemplateSpecContainerLivenessProbeGrpc? = null, httpGet: ServiceTemplateSpecContainerLivenessProbeHttpGet? = null, initialDelaySeconds: Int? = null, periodSeconds: Int? = null, timeoutSeconds: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val failureThreshold: Int? = null

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

Link copied to clipboard

GRPC specifies an action involving a GRPC port. Structure is documented below.

Link copied to clipboard

HttpGet specifies the http request to perform. Structure is documented below.

Link copied to clipboard

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.

Link copied to clipboard
val periodSeconds: Int? = null

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.

Link copied to clipboard
val timeoutSeconds: Int? = null

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.