PreferredSchedulingTerm

data class PreferredSchedulingTerm(val preference: NodeSelectorTerm, val 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).

Constructors

Link copied to clipboard
constructor(preference: NodeSelectorTerm, weight: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A node selector term, associated with the corresponding weight.

Link copied to clipboard
val weight: Int

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