Kazan v0.11.0 Kazan.Apis.Core.V1.Probe View Source
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
OpenAPI Definition: io.k8s.api.core.v1.Probe
Properties
exec::Kazan.Apis.Core.V1.ExecAction- One and only one of the following should be specified. Exec specifies the action to take.
failure_threshold::Integer- Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
http_get::Kazan.Apis.Core.V1.HTTPGetAction- HTTPGet specifies the http request to perform.
initial_delay_seconds::Integer- Number of seconds after the container has started before liveness probes are initiated. More info.
period_seconds::Integer- How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
success_threshold::Integer- Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.
tcp_socket::Kazan.Apis.Core.V1.TCPSocketAction- TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
timeout_seconds::Integer- Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Kazan.Apis.Core.V1.Probe{
exec: Kazan.Apis.Core.V1.ExecAction.t(),
failure_threshold: integer(),
http_get: Kazan.Apis.Core.V1.HTTPGetAction.t(),
initial_delay_seconds: integer(),
period_seconds: integer(),
success_threshold: integer(),
tcp_socket: Kazan.Apis.Core.V1.TCPSocketAction.t(),
timeout_seconds: integer()
}