PreferredSchedulingTermPatch

data class PreferredSchedulingTermPatch(val preference: NodeSelectorTermPatch? = null, val weight: Int? = null)

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: NodeSelectorTermPatch? = null, weight: Int? = null)

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? = null

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