ServiceTemplateContainerLivenessProbeArgs

data class ServiceTemplateContainerLivenessProbeArgs(val failureThreshold: Output<Int>? = null, val grpc: Output<ServiceTemplateContainerLivenessProbeGrpcArgs>? = null, val httpGet: Output<ServiceTemplateContainerLivenessProbeHttpGetArgs>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val tcpSocket: Output<ServiceTemplateContainerLivenessProbeTcpSocketArgs>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ServiceTemplateContainerLivenessProbeArgs>

Constructors

constructor(failureThreshold: Output<Int>? = null, grpc: Output<ServiceTemplateContainerLivenessProbeGrpcArgs>? = null, httpGet: Output<ServiceTemplateContainerLivenessProbeHttpGetArgs>? = null, initialDelaySeconds: Output<Int>? = null, periodSeconds: Output<Int>? = null, tcpSocket: Output<ServiceTemplateContainerLivenessProbeTcpSocketArgs>? = null, timeoutSeconds: Output<Int>? = null)

Properties

Link copied to clipboard
val failureThreshold: Output<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
val initialDelaySeconds: Output<Int>? = null

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Link copied to clipboard
val periodSeconds: Output<Int>? = null

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

Link copied to clipboard

(Optional, Deprecated) TCPSocket specifies an action involving a TCP port. This field is not supported in liveness probe currently. Structure is documented below.

Link copied to clipboard
val timeoutSeconds: Output<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 periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Functions

Link copied to clipboard
open override fun toJava(): ServiceTemplateContainerLivenessProbeArgs