Mixins

preferredSchedulingTerm

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).

Constuctors

Functions
  • withWeight

    withWeight(weight)

    Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.


Mixins
  • preference

    A node selector term, associated with the corresponding weight.


    Functions
    • mixinInstance

      mixinInstance(preference)


    • withMatchExpressions

      withMatchExpressions(matchExpressions)

      Required. A list of node selector requirements. The requirements are ANDed.

      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

      withMatchExpressionsMixin(matchExpressions)

      Required. A list of node selector requirements. The requirements are ANDed.

      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