Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Probe.
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exec
def exec() -> ::Google::Cloud::AIPlatform::V1::Probe::ExecAction
- (::Google::Cloud::AIPlatform::V1::Probe::ExecAction) — Exec specifies the action to take.
#exec=
def exec=(value) -> ::Google::Cloud::AIPlatform::V1::Probe::ExecAction
- value (::Google::Cloud::AIPlatform::V1::Probe::ExecAction) — Exec specifies the action to take.
- (::Google::Cloud::AIPlatform::V1::Probe::ExecAction) — Exec specifies the action to take.
#period_seconds
def period_seconds() -> ::Integer
-
(::Integer) — How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1. Must be less than timeout_seconds.
Maps to Kubernetes probe argument 'periodSeconds'.
#period_seconds=
def period_seconds=(value) -> ::Integer
-
value (::Integer) — How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1. Must be less than timeout_seconds.
Maps to Kubernetes probe argument 'periodSeconds'.
-
(::Integer) — How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1. Must be less than timeout_seconds.
Maps to Kubernetes probe argument 'periodSeconds'.
#timeout_seconds
def timeout_seconds() -> ::Integer
-
(::Integer) — Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. Must be greater or equal to period_seconds.
Maps to Kubernetes probe argument 'timeoutSeconds'.
#timeout_seconds=
def timeout_seconds=(value) -> ::Integer
-
value (::Integer) — Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. Must be greater or equal to period_seconds.
Maps to Kubernetes probe argument 'timeoutSeconds'.
-
(::Integer) — Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. Must be greater or equal to period_seconds.
Maps to Kubernetes probe argument 'timeoutSeconds'.