Skip to main content
Version: v3

KubeLabelSelector

https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#labelselector-v1-meta

Properties

matchExpressions?

optional matchExpressions?: KubeLabelSelectorExpression[];

A list of label selector requirements. The requirements are ANDed.

See KubeLabelSelectorExpression


matchLabels?

optional matchLabels?: object;

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.

Index Signature

[key: string]: string