Skip to main content
Version: Next

KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION

Home > @backstage/plugin-kubernetes-common > KUBERNETES\_LABEL\_SELECTOR\_QUERY\_ANNOTATION

Annotation used to specify a Kubernetes label selector query for filtering resources. When this annotation is added to a catalog entity, it defines criteria for selecting Kubernetes resources based on their labels.

Signature:

KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION = "backstage.io/kubernetes-label-selector"

Remarks

The value of this annotation should be a valid Kubernetes label selector query string. For example: 'app=my-app,environment=production'