Skip to content

postStart

PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

object

PropertyTypeRequiredDefaultDescription
execobjectNo-Exec specifies the action to take.
httpGetobjectNo-HTTPGet specifies the http request to perform.
sleepobjectNo-Sleep represents the duration that the container should s…
tcpSocketobjectNo-Deprecated. TCPSocket is NOT supported as a LifecycleHand…