Class: Google::Cloud::Run::V2::Probe
- Inherits:
-
Object
- Object
- Google::Cloud::Run::V2::Probe
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/run/v2/k8s.min.rb
Overview
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Instance Attribute Summary collapse
-
#failure_threshold ⇒ ::Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded.
-
#grpc ⇒ ::Google::Cloud::Run::V2::GRPCAction
GRPC specifies an action involving a gRPC port.
-
#http_get ⇒ ::Google::Cloud::Run::V2::HTTPGetAction
HTTPGet specifies the http request to perform.
-
#initial_delay_seconds ⇒ ::Integer
Number of seconds after the container has started before the probe is initiated.
-
#period_seconds ⇒ ::Integer
How often (in seconds) to perform the probe.
-
#tcp_socket ⇒ ::Google::Cloud::Run::V2::TCPSocketAction
TCPSocket specifies an action involving a TCP port.
-
#timeout_seconds ⇒ ::Integer
Number of seconds after which the probe times out.
Instance Attribute Details
#failure_threshold ⇒ ::Integer
Returns Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#grpc ⇒ ::Google::Cloud::Run::V2::GRPCAction
Returns GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#http_get ⇒ ::Google::Cloud::Run::V2::HTTPGetAction
Returns HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#initial_delay_seconds ⇒ ::Integer
Returns 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.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#period_seconds ⇒ ::Integer
Returns 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.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tcp_socket ⇒ ::Google::Cloud::Run::V2::TCPSocketAction
Returns TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#timeout_seconds ⇒ ::Integer
Returns 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.
410 411 412 413 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 410 class Probe include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |