Skip to main content
Schemaobject

io.k8s.api.core.v1.ContainerRestartRule

ContainerRestartRule describes how a container exit is handled.

Source
specs/apis__batch__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
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
optional

Represents the exit codes to check on container exits.