class K8S::Api::Core::V1::Probe
- K8S::Api::Core::V1::Probe
- Reference
- Object
Overview
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/probe.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, exec : Api::Core::V1::ExecAction? = nil, failure_threshold : Int32? = nil, http_get : Api::Core::V1::HTTPGetAction? = nil, initial_delay_seconds : Int32? = nil, period_seconds : Int32? = nil, success_threshold : Int32? = nil, tcp_socket : Api::Core::V1::TCPSocketAction? = nil, timeout_seconds : Int32? = nil)
Instance Method Summary
- #exec : Api::Core::V1::ExecAction?
- #exec=(exec : Api::Core::V1::ExecAction?)
- #failure_threshold : Int32?
- #failure_threshold=(failure_threshold : Int32?)
- #http_get : Api::Core::V1::HTTPGetAction?
- #http_get=(http_get : Api::Core::V1::HTTPGetAction?)
- #initial_delay_seconds : Int32?
- #initial_delay_seconds=(initial_delay_seconds : Int32?)
- #period_seconds : Int32?
- #period_seconds=(period_seconds : Int32?)
- #success_threshold : Int32?
- #success_threshold=(success_threshold : Int32?)
- #tcp_socket : Api::Core::V1::TCPSocketAction?
- #tcp_socket=(tcp_socket : Api::Core::V1::TCPSocketAction?)
- #timeout_seconds : Int32?
- #timeout_seconds=(timeout_seconds : Int32?)
Constructor Detail
def self.new(*, exec : Api::Core::V1::ExecAction? = nil, failure_threshold : Int32? = nil, http_get : Api::Core::V1::HTTPGetAction? = nil, initial_delay_seconds : Int32? = nil, period_seconds : Int32? = nil, success_threshold : Int32? = nil, tcp_socket : Api::Core::V1::TCPSocketAction? = nil, timeout_seconds : Int32? = nil)
#