Schema
objectio.k8s.api.core.v1.LifecycleHandler
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.
- Source
specs/apis__batch__v1_openapi.json- Revision
9a79c3bd90f7- Active snapshot
2a9112600697
exec
optionalExec specifies a command to execute in the container.
httpGet
optionalHTTPGet specifies an HTTP GET request to perform.
sleep
optionalSleep represents a duration that the container should sleep.
tcpSocket
optionalDeprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.