PreferredSchedulingTerm constructor

const PreferredSchedulingTerm({
  1. required Input<NodeSelectorTerm> preference,
  2. 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,
});