Package org.cdk8s.plus25.k8s
Interface Taint
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Taint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.840Z") @Stability(Stable) public interface Taint extends software.amazon.jsii.JsiiSerializable
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTaint.BuilderA builder forTaintstatic classTaint.Jsii$ProxyAn implementation forTaint
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Taint.Builderbuilder()StringgetEffect()Required.StringgetKey()Required.default InstantgetTimeAdded()TimeAdded represents the time at which the taint was added.default StringgetValue()The taint value corresponding to the taint key.
-
-
-
Method Detail
-
getEffect
@Stability(Stable) @NotNull String getEffect()
Required.The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
-
getKey
@Stability(Stable) @NotNull String getKey()
Required.The taint key to be applied to a node.
-
getTimeAdded
@Stability(Stable) @Nullable default Instant getTimeAdded()
TimeAdded represents the time at which the taint was added.It is only written for NoExecute taints.
-
getValue
@Stability(Stable) @Nullable default String getValue()
The taint value corresponding to the taint key.
-
builder
@Stability(Stable) static Taint.Builder builder()
- Returns:
- a
Taint.BuilderofTaint
-
-