Skip to main content
Schemaobject

io.k8s.api.core.v1.ContainerRestartRuleOnExitCodes

ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.

Source
specs/apis__apps__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
operator string
required

Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values.

values array
optional

Specifies the set of values to check for container exit codes. At most 255 elements are allowed.