
org.cdk8s.plus31.RestartPolicy Maven / Gradle / Ivy
package org.cdk8s.plus31;
/**
* Restart policy for all containers within the pod.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-10-12T12:14:17.440Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.RestartPolicy")
public enum RestartPolicy {
/**
* Always restart the pod after it exits.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
ALWAYS,
/**
* Only restart if the pod exits with a non-zero exit code.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
ON_FAILURE,
/**
* Never restart the pod.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
NEVER,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy