PreferredSchedulingTerm constructor
const
PreferredSchedulingTerm({
- required Input<
NodeSelectorTerm> preference, - required Input<
int> weight,
Creates a new PreferredSchedulingTerm.
preference A node selector term, associated with the corresponding weight.
weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Implementation
const PreferredSchedulingTerm({
required this.preference,
required this.weight,
});