Selector

Selector defines criteria used to specify a set to be included using labels.

Fields

matchLabelsarray of Selector.MatchLabelsEntry
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.
matchExpressionsarray of LabelSelectorRequirement
MatchExpressions is a list of label selector requirements. The requirements are ANDed.