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
Properties
Section titled “Properties”| Property | Type | Required | Default | Description |
|---|---|---|---|---|
postStart | object | No | - | PostStart is called immediately after a container is crea… |
preStop | object | No | - | PreStop is called immediately before a container is termi… |