ServiceTemplateContainerStartupProbeArgs

data class ServiceTemplateContainerStartupProbeArgs(val failureThreshold: Output<Int>? = null, val grpc: Output<ServiceTemplateContainerStartupProbeGrpcArgs>? = null, val httpGet: Output<ServiceTemplateContainerStartupProbeHttpGetArgs>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val tcpSocket: Output<ServiceTemplateContainerStartupProbeTcpSocketArgs>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ServiceTemplateContainerStartupProbeArgs>

Constructors

Link copied to clipboard
constructor(failureThreshold: Output<Int>? = null, grpc: Output<ServiceTemplateContainerStartupProbeGrpcArgs>? = null, httpGet: Output<ServiceTemplateContainerStartupProbeHttpGetArgs>? = null, initialDelaySeconds: Output<Int>? = null, periodSeconds: Output<Int>? = null, tcpSocket: Output<ServiceTemplateContainerStartupProbeTcpSocketArgs>? = 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. Exactly one of HTTPGet or TCPSocket must be specified. 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

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. 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(): ServiceTemplateContainerStartupProbeArgs