Skip to content

core.v1.containerRestartRuleOnExitCodes

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

Index

Fields

fn withOperator

withOperator(operator)

"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\n set of specified values.\n- NotIn: the requirement is satisfied if the container exit code is\n not in the set of specified values."

fn withValues

withValues(values)

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

fn withValuesMixin

withValuesMixin(values)

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

Note: This function appends passed data to existing values