ContainerRestartRuleOnExitCodes [api_object]ai-synthesized · conf 0.82
ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.
core
A ContainerRestartRuleOnExitCodes is a specific type of restart rule that restarts a container based on exit codes.
Why it matters This rule helps ensure that containers are restarted when they fail due to non-zero exit codes.
Key facts - Can be used in PodSpec - Used for restarting containers with non-zero exit codes
Sources
swagger.json — “io.k8s.api.core.v1.ContainerRestartRuleOnExitCodes”