PreferredSchedulingTerm

case class PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int)

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

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

Value Params
weight

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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets preference.

Gets preference.

This effect always succeeds, it is safe to use the field preference directly.

def getWeight: IO[K8sFailure, Int]

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

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

This effect always succeeds, it is safe to use the field weight directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product