selector

@JvmName(name = "vvxqjheomkcsyoct")
suspend fun selector(value: Output<Map<String, String>>)
@JvmName(name = "idtgejxileolyitb")
suspend fun selector(value: Map<String, String>?)

Parameters

value

Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/


@JvmName(name = "liljsaxsyhvihqfb")
fun selector(vararg values: Pair<String, String>)

Parameters

values

Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/