kubernetes v1.34

EphemeralContainer.restartPolicyRules

Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers.

2 fields
EphemeralContainer.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.