A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
Attributes#
| Attribute | Type | Description |
|---|---|---|
matchExpressions | NotRequired[list[LabelSelectorRequirement]] | |
matchLabels | NotRequired[dict[str, str]] |
On This Page
Attributes