V1Lifecycle

March 28, 2026 ยท View on GitHub

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.

Properties

NameTypeDescriptionNotes
post_startV1LifecycleHandler[optional]
pre_stopV1LifecycleHandler[optional]
stop_signalstrStopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name[optional]

[Back to Model list] [Back to API list] [Back to README]