Class: Google::Cloud::Run::V2::Probe

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#failure_threshold::Integer

Returns Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

Returns:

  • (::Integer)

    Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#grpc::Google::Cloud::Run::V2::GRPCAction

Returns Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.

Returns:



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#http_get::Google::Cloud::Run::V2::HTTPGetAction

Returns Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.

Returns:



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#initial_delay_seconds::Integer

Returns Optional. 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.

Returns:

  • (::Integer)

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



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#period_seconds::Integer

Returns Optional. 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.

Returns:

  • (::Integer)

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



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tcp_socket::Google::Cloud::Run::V2::TCPSocketAction

Returns Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.

Returns:



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#timeout_seconds::Integer

Returns Optional. 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.

Returns:

  • (::Integer)

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



407
408
409
410
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 407

class Probe
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end