org.cdk8s.plus22.RestartPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk8s-plus-22 Show documentation
Show all versions of cdk8s-plus-22 Show documentation
High level abstractions on top of cdk8s
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