
org.cdk8s.plus23.TaintEffect Maven / Gradle / Ivy
package org.cdk8s.plus23;
/**
* Taint effects.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.75.0 (build 63bb957)", date = "2023-02-21T09:46:03.699Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus23.$Module.class, fqn = "cdk8s-plus-23.TaintEffect")
public enum TaintEffect {
/**
* This means that no pod will be able to schedule onto the node unless it has a matching toleration.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
NO_SCHEDULE,
/**
* This is a "preference" or "soft" version of `NO_SCHEDULE` -- the system will try to avoid placing a pod that does not tolerate the taint on the node, but it is not required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
PREFER_NO_SCHEDULE,
/**
* This affects pods that are already running on the node as follows:.
*
*
* - Pods that do not tolerate the taint are evicted immediately.
* - Pods that tolerate the taint without specifying
duration
remain bound forever.
* - Pods that tolerate the taint with a specified
duration
remain bound for
* the specified amount of time.
*
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
NO_EXECUTE,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy