ClusterSelectorArgs

data class ClusterSelectorArgs(val clusterLabels: Output<Map<String, String>>, val zone: Output<String>? = null) : ConvertibleToJava<ClusterSelectorArgs>

A selector that chooses target cluster for jobs based on metadata.

Constructors

Link copied to clipboard
constructor(clusterLabels: Output<Map<String, String>>, zone: Output<String>? = null)

Properties

Link copied to clipboard

The cluster labels. Cluster must have all labels to match.

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

Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.If unspecified, the zone of the first cluster matching the selector is used.

Functions

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