PreferredSchedulingTermArgs

data class PreferredSchedulingTermArgs(val preference: Output<NodeSelectorTermArgs>, val weight: Output<Int>) : ConvertibleToJava<PreferredSchedulingTermArgs>

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: Output<NodeSelectorTermArgs>, weight: Output<Int>)

Properties

Link copied to clipboard

A node selector term, associated with the corresponding weight.

Link copied to clipboard
val weight: Output<Int>

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

Functions

Link copied to clipboard
open override fun toJava(): PreferredSchedulingTermArgs