kubernetes v1.31
Container.lifecycle.postStart
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
| Field / Type | Description |
|---|---|
Exec specifies the action to take. | |
HTTPGet specifies the http request to perform. | |
Sleep represents the duration that the container should sleep before being terminated. | |
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. |