class K8S::Api::Core::V1::Lifecycle

Overview

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

Included Modules

Defined in:

versions/v1.11/api/core/v1/lifecycle.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, post_start : Api::Core::V1::Handler? = nil, pre_stop : Api::Core::V1::Handler? = nil) #

[View source]

Instance Method Detail

def post_start : Api::Core::V1::Handler? #

[View source]
def post_start=(post_start : Api::Core::V1::Handler?) #

[View source]
def pre_stop : Api::Core::V1::Handler? #

[View source]
def pre_stop=(pre_stop : Api::Core::V1::Handler?) #

[View source]