Skip to content

lifecycle

Lifecycle event hooks (postStart, preStop) for the container. See https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/ and https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle for details.

object

PropertyTypeRequiredDefaultDescription
postStartobjectNo-PostStart is called immediately after a container is crea…
preStopobjectNo-PreStop is called immediately before a container is termi…