From 228538165d3d5fc7a91c3ebd0008e37d78372eb7 Mon Sep 17 00:00:00 2001 From: Gazandi Date: Thu, 4 Mar 2021 20:40:51 +0700 Subject: [PATCH] Update troubleshooting.md Signed-off-by: gazandi --- docs/features/kubernetes/troubleshooting.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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: '' ```