kubernetes v1.37
Pod.spec.containers.restartPolicyRules
ContainerRestartRule describes how a container exit is handled.
| Field / Type | Description |
|---|---|
action | Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is "Restart" to restart the container. |
Represents the exit codes to check on container exits. |