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.
    • 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.