Package org.cdk8s.plus24.k8s
Interface Taint
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Taint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-16T03:33:04.216Z") @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 class
Taint.Builder
A builder forTaint
static class
Taint.Jsii$Proxy
An implementation forTaint
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Taint.Builder
builder()
String
getEffect()
Required.String
getKey()
Required.default Instant
getTimeAdded()
TimeAdded represents the time at which the taint was added.default String
getValue()
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.Builder
ofTaint
-
-