An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it’s a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
new()
withWeight(weight)
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
A node selector term, associated with the corresponding weight.
mixinInstance(preference)
withMatchExpressions(matchExpressions)
A list of node selector requirements by node’s labels.
withMatchExpressions
takes an array of type matchExpressionsType
. You can create
an instance of matchExpressionsType
with hidden.core.v1.nodeSelectorRequirement.new()
.
see hidden.core.v1.nodeSelectorRequirement
withMatchExpressionsMixin(matchExpressions)
A list of node selector requirements by node’s labels.
withMatchExpressionsMixin
takes an array of type matchExpressionsType
. You can create
an instance of matchExpressionsType
with hidden.core.v1.nodeSelectorRequirement.new()
.
see hidden.core.v1.nodeSelectorRequirement
withMatchFields(matchFields)
A list of node selector requirements by node’s fields.
withMatchFields
takes an array of type matchFieldsType
. You can create
an instance of matchFieldsType
with hidden.core.v1.nodeSelectorRequirement.new()
.
see hidden.core.v1.nodeSelectorRequirement
withMatchFieldsMixin(matchFields)
A list of node selector requirements by node’s fields.
withMatchFieldsMixin
takes an array of type matchFieldsType
. You can create
an instance of matchFieldsType
with hidden.core.v1.nodeSelectorRequirement.new()
.
see hidden.core.v1.nodeSelectorRequirement