Class RestartPolicy (0.16.3)

RestartPolicy(value)

Restart policy options for the instance. If not provided, the default is ON_FAILURE.

Enums

Name Description
RESTART_POLICY_UNSPECIFIED Unspecified restart policy.
ALWAYS Always restart the instance.
ON_FAILURE Restart if the instance terminates with non-zero exit code.
NEVER Never restart the instance.