Package org.cdk8s.plus24.k8s
Interface SchedulingV1Beta1
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SchedulingV1Beta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:42.042Z") @Stability(Stable) public interface SchedulingV1Beta1 extends software.amazon.jsii.JsiiSerializable
Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SchedulingV1Beta1.Builder
A builder forSchedulingV1Beta1
static class
SchedulingV1Beta1.Jsii$Proxy
An implementation forSchedulingV1Beta1
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SchedulingV1Beta1.Builder
builder()
default Map<String,String>
getNodeSelector()
nodeSelector lists labels that must be present on nodes that support this RuntimeClass.default List<Toleration>
getTolerations()
tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
-
-
-
Method Detail
-
getNodeSelector
@Stability(Stable) @Nullable default Map<String,String> getNodeSelector()
nodeSelector lists labels that must be present on nodes that support this RuntimeClass.Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.
-
getTolerations
@Stability(Stable) @Nullable default List<Toleration> getTolerations()
tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
-
builder
@Stability(Stable) static SchedulingV1Beta1.Builder builder()
- Returns:
- a
SchedulingV1Beta1.Builder
ofSchedulingV1Beta1
-
-