PreferredSchedulingTermPatchArgs

data class PreferredSchedulingTermPatchArgs(val preference: Output<NodeSelectorTermPatchArgs>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<PreferredSchedulingTermPatchArgs>

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

Properties

Link copied to clipboard

A node selector term, associated with the corresponding weight.

Link copied to clipboard
val weight: Output<Int>? = null

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

Functions

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