class Pyrite::Api::Core::V1::Probe

Overview

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

Defined in:

versions/v1.14/api/core/v1/probe.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.


def self.new(pull : JSON::PullParser) #

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.


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) #

Instance Method Detail


def exec=(exec : Api::Core::V1::ExecAction?) #

def failure_threshold : Int32? #

def failure_threshold=(failure_threshold : Int32?) #


def http_get=(http_get : Api::Core::V1::HTTPGetAction?) #

def initial_delay_seconds : Int32? #

def initial_delay_seconds=(initial_delay_seconds : Int32?) #

def period_seconds : Int32? #

def period_seconds=(period_seconds : Int32?) #

def success_threshold : Int32? #

def success_threshold=(success_threshold : Int32?) #

def tcp_socket : Api::Core::V1::TCPSocketAction? #

def tcp_socket=(tcp_socket : Api::Core::V1::TCPSocketAction?) #

def timeout_seconds : Int32? #

def timeout_seconds=(timeout_seconds : Int32?) #