PreferredSchedulingTermPatch constructor

const PreferredSchedulingTermPatch({
  1. Input<NodeSelectorTermPatch>? preference,
  2. Input<int>? weight,
})

Creates a new PreferredSchedulingTermPatch. 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 PreferredSchedulingTermPatch({
  this.preference,
  this.weight,
});