diff --git a/docs/features/kubernetes/troubleshooting.md b/docs/features/kubernetes/troubleshooting.md index 1dda6c0cbb..6213b56bc6 100644 --- a/docs/features/kubernetes/troubleshooting.md +++ b/docs/features/kubernetes/troubleshooting.md @@ -71,10 +71,6 @@ The Kubernetes tab will not show anything when the catalog info annotation does not match the related Kubernetes resource. We recommend you add the following labels to your resources and use the label selector annotation as follows: -`backstage: ` and `backstage.io/kubernetes-id: `. - -`backstage: ` for matching with catalog-info.yaml - `backstage.io/kubernetes-id: `for get k8s service-related objects. [See the plugin code](https://github.com/backstage/backstage/blob/a1f587c/plugins/kubernetes-backend/src/service/KubernetesFetcher.ts#L119) @@ -85,7 +81,7 @@ metadata: creationTimestamp: '2022-03-13T13:52:46.000Z' labels: app: - backstage: + env: backstage.io/kubernetes-id: name: namespace: @@ -99,5 +95,5 @@ and the catalog info annotations would use label selector: ```yaml # catalog-info.yaml (backstage) annotations: - backstage.io/kubernetes-label-selector: 'backstage=' + backstage.io/kubernetes-label-selector: '' ```