All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.plus22.RestartPolicy Maven / Gradle / Ivy

There is a newer version: 2.0.0-rc.158
Show newest version
package org.cdk8s.plus22;

/**
 * Restart policy for all containers within the pod.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.47.0 (build 86d2c33)", date = "2021-12-08T00:16:55.117Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus22.$Module.class, fqn = "cdk8s-plus-22.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