community-plugins/workspaces/linkerd
Backstage Service Account 995faa27d8
Version Packages (#4151)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-30 15:10:04 -05:00
..
.changeset Version Packages (#4151) 2025-05-30 15:10:04 -05:00
packages Version Packages (#4151) 2025-05-30 15:10:04 -05:00
plugins Version Packages (#4151) 2025-05-30 15:10:04 -05:00
.auto-version-bump meta: enable opt-in to auto version bump workflow (#4031) 2025-05-27 08:57:51 -05:00
.dockerignore
.eslintignore
.eslintrc.js
.gitignore
.prettierignore
README.md
app-config.production.yaml
app-config.yaml
backstage.json linkerd - version:bump to v1.39.0 (#4097) 2025-05-30 14:55:30 -05:00
catalog-info.yaml
package.json linkerd - version:bump to v1.39.0 (#4097) 2025-05-30 14:55:30 -05:00
tsconfig.json
yarn.lock linkerd - version:bump to v1.39.0 (#4097) 2025-05-30 14:55:30 -05:00

README.md

Linkerd Plugins for Backstage

Installation instructions

Backend

First off, you're going to want to make sure that you have followed the setup guide to enable the kubernetes plugin in Backstage. You can do that by following this guide for installation and this guide for configuration.

Once you have the kubernetes plugin set up, you can install the linkerd-backend plugin by adding the following to your Backstage by running yarn add @backstage-community/plugin-linkerd-backend in packages/backend and also adding the following in your packages/backend/src/index.ts.

const backend = createBackend();

// Other plugins...

backend.add(import('@backstage-community/plugin-linkerd-backend'));

backend.start();

Frontend

Installing the frontend package is as easy as running yarn install @backstage-community/plugin-linkerd in your packages/app directory. Once you have done that, you can add the some of the cards to your packages/app/src/components/catalog/EntityPage.tsx for use on EntityPages.

const overviewContent = (
  <Grid container spacing={3} alignItems="stretch">
    {entityWarningContent}
    <Grid item md={6}>
      <EntityAboutCard variant="gridItem" />
    </Grid>
    <Grid item md={6} xs={12}>
      <EntitySwitch>
+        <EntitySwitch.Case if={isKubernetesAvailable}>
+           <LinkerdDependenciesCard />
+        </EntitySwitch.Case>
        <EntitySwitch.Case>
          <EntityCatalogGraphCard variant="gridItem" height={400} />
        </EntitySwitch.Case>
      </EntitySwitch>
    </Grid>

    <Grid item md={4} xs={12}>
      <EntityLinksCard />
    </Grid>
    <Grid item md={8} xs={12}>
      <EntityHasSubcomponentsCard variant="gridItem" />
    </Grid>
  </Grid>
);