Scheduling class

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

Constructors

Scheduling({Map<String, String>? nodeSelector, List<Toleration>? tolerations})
Default constructor.
const
Scheduling.fromJson(Map<String, dynamic> json)
Creates a Scheduling from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
nodeSelector Map<String, String>?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tolerations List<Toleration>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a Scheduling instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited