kubernetes v1.34

PodList.items.spec.ephemeralContainers.restartPolicyRules

ContainerRestartRule describes how a container exit is handled.

2 fields
PodList.items.spec.ephemeralContainers.restartPolicyRules fields and descriptions
Field / TypeDescription
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.

ContainerRestartRuleOnExitCodes

Represents the exit codes to check on container exits.