OS
OpenSpec
HUB
Home
/
core.api.k8s.io
/
v1
/
ContainerRestartRule
ContainerRestartRule
ContainerRestartRule describes how a container exit is handled.
Resource Structure
Copy JSON
Interactive Tree
action
string
Required
Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is "Restart" to restart the container.
exitCodes
object
Represents the exit codes to check on container exits.