OptionalmatchmatchExpressions A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
OptionalmatchmatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
Export