class Pyrite::Api::Core::V1::Lifecycle
- Pyrite::Api::Core::V1::Lifecycle
- Pyrite::Kubernetes::Spec
- Reference
- Object
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.
Defined in:
versions/v1.14/api/core/v1/lifecycle.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Lifecycle describes actions that the management system should take in response to container lifecycle events.
-
.new(pull : JSON::PullParser)
Lifecycle describes actions that the management system should take in response to container lifecycle events.
- .new(*, post_start : Api::Core::V1::Handler? = nil, pre_stop : Api::Core::V1::Handler? = nil)
Instance Method Summary
- #post_start : Api::Core::V1::Handler?
- #post_start=(post_start : Api::Core::V1::Handler?)
- #pre_stop : Api::Core::V1::Handler?
- #pre_stop=(pre_stop : Api::Core::V1::Handler?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
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.
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.