ReplicaSet .spec .template .spec .initContainers .lifecycle .preStop
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.
Description | |
---|---|
exec 🔗 ExecAction | Exec specifies the action to take. |
httpGet 🔗 HTTPGetAction | HTTPGet specifies the http request to perform. |
sleep 🔗 SleepAction | Sleep represents the duration that the container should sleep before being terminated. |
tcpSocket 🔗 TCPSocketAction | 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. |