SchedulingNodeAffinityArgs

data class SchedulingNodeAffinityArgs(val key: Output<String>? = null, val operator: Output<SchedulingNodeAffinityOperator>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<SchedulingNodeAffinityArgs>

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Constructors

Link copied to clipboard
fun SchedulingNodeAffinityArgs(key: Output<String>? = null, operator: Output<SchedulingNodeAffinityOperator>? = null, values: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard
val key: Output<String>? = null

Corresponds to the label key of Node resource.

Link copied to clipboard

Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.

Link copied to clipboard
val values: Output<List<String>>? = null

Corresponds to the label values of Node resource.