matchLabelKeys

@JvmName(name = "tghcfbgudorhojwd")
suspend fun matchLabelKeys(value: Output<List<String>>)
@JvmName(name = "nvprutvmakjemusa")
suspend fun matchLabelKeys(value: List<String>?)

Parameters

value

MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with labelSelector as key in (value) to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).


@JvmName(name = "ufryrsvyidohmcwj")
suspend fun matchLabelKeys(vararg values: Output<String>)


@JvmName(name = "ikpykpuphxjwusjk")
suspend fun matchLabelKeys(values: List<Output<String>>)
@JvmName(name = "mehkkffqakahskrf")
suspend fun matchLabelKeys(vararg values: String)

Parameters

values

MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with labelSelector as key in (value) to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).