ProbeArgs

data class ProbeArgs(val exec: Output<ExecActionArgs>? = null, val failureThreshold: Output<Int>? = null, val grpc: Output<GRPCActionArgs>? = null, val httpGet: Output<HTTPGetActionArgs>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val successThreshold: Output<Int>? = null, val tcpSocket: Output<TCPSocketActionArgs>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ProbeArgs>

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

Constructors

Link copied to clipboard
fun ProbeArgs(exec: Output<ExecActionArgs>? = null, failureThreshold: Output<Int>? = null, grpc: Output<GRPCActionArgs>? = null, httpGet: Output<HTTPGetActionArgs>? = null, initialDelaySeconds: Output<Int>? = null, periodSeconds: Output<Int>? = null, successThreshold: Output<Int>? = null, tcpSocket: Output<TCPSocketActionArgs>? = null, timeoutSeconds: Output<Int>? = null)

Functions

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

Properties

Link copied to clipboard
val exec: Output<ExecActionArgs>? = null

Not supported by Cloud Run.

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
val grpc: Output<GRPCActionArgs>? = null

GRPCAction specifies an action involving a GRPC port.

Link copied to clipboard
val httpGet: Output<HTTPGetActionArgs>? = null

HTTPGet specifies the http request to perform.

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.

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 timeout_seconds.

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

Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 if set.

Link copied to clipboard
val tcpSocket: Output<TCPSocketActionArgs>? = null

TCPSocket specifies an action involving a TCP port.

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 period_seconds.