podSelector

@JvmName(name = "klhchrnsxgjwcvms")
suspend fun podSelector(value: Output<LabelSelectorArgs>)
@JvmName(name = "vsssiwladkclrnqr")
suspend fun podSelector(value: LabelSelectorArgs)

Parameters

value

podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.


@JvmName(name = "lbwuxrnudwigvbna")
suspend fun podSelector(argument: suspend LabelSelectorArgsBuilder.() -> Unit)

Parameters

argument

podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.