matchLabelExpression
MatchLabelExpression is a term used to describe a single conditional criterion used to match resources by their labels within label selectors. It is not a universal field name in all APIs, but it corresponds to the idea of evaluating a label’s value against an operator. In Kubernetes, the closest standard concept is matchExpressions, which represents one such expression in a selector.
A matchLabelExpression typically includes three parts: a key, an operator, and a set of values (for applicable
A typical matchLabelExpression might state: key environment, operator In, values prod and staging. Another example: key
Terminology varies by API: Kubernetes explicitly uses matchExpressions as a list of such criteria, while some