npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lithastra/plugin-kubeatlas

v1.0.0

Published

Backstage frontend plugin embedding KubeAtlas dependency-graph views into Entity pages

Readme

KubeAtlas plugin for Backstage

Stable (v1.0.x). This plugin follows semver from v1.0.0 and tracks Headlamp-plugin feature parity. Pin a version and see the compatibility matrix below.

A Backstage frontend plugin that embeds KubeAtlas dependency-graph views directly into your catalog Entity pages. It answers "what does this service depend on, and what breaks if it goes away?" without leaving Backstage.

What you get

  • Dependency graph card — the one-hop dependency neighbourhood of an Entity's backing Kubernetes resource, rendered with Cytoscape.
  • Blast radius card — how many resources transitively depend on this one, graded green / amber / red, with an expandable top-10 list.
  • Admission policies card — the Gatekeeper/Kyverno admission policies that enforce this Entity's resource, read from its ENFORCES edges (F-205). Degrades gracefully on servers that don't report them.
  • Runtime calls (OTel) card — the resource's top observed runtime-call peers from the OpenTelemetry overlay (GET /api/v1/otel/overlay), shown when the server is Tier 2 with otel.enabled (F-204). Shows a clear note when the overlay is unavailable.
  • KubeAtlas Entity tab — all four cards on a dedicated tab.

It talks directly to a KubeAtlas server's v1 API. It does not depend on @backstage/plugin-kubernetes or any Backstage backend plugin.

Prerequisites

  • A running KubeAtlas server (>= v1.4) reachable from the browser. The Admission policies card needs >= v1.4; the Runtime calls (OTel) card needs >= v1.5 with otel.enabled.
  • Backstage >= 1.30 (see the compatibility matrix).

Install

# from your Backstage app
yarn --cwd packages/app add @lithastra/plugin-kubeatlas

Configure

Point the plugin at your KubeAtlas server in app-config.yaml:

kubeatlas:
  baseUrl: https://kubeatlas.example.com

Wire the Entity tab into packages/app/src/components/catalog/EntityPage.tsx:

import { EntityKubeAtlasContent } from '@lithastra/plugin-kubeatlas';

// inside the service/component EntityLayout:
<EntityLayout.Route path="/kubeatlas" title="KubeAtlas">
  <EntityKubeAtlasContent />
</EntityLayout.Route>

Prefer individual cards? EntityDependencyGraphCard and EntityBlastRadiusCard are exported too.

Mapping an Entity to a Kubernetes resource

By default the plugin looks up a Deployment named after the Entity in the default namespace. Override per Entity with annotations:

metadata:
  annotations:
    kubeatlas.io/kind: StatefulSet
    kubeatlas.io/name: orders-db
    kubeatlas.io/namespace: shop

The Backstage backstage.io/kubernetes-namespace annotation is honoured as a namespace fallback.

Compatibility

See COMPAT_MATRIX.md for tested version combinations.

Development

The plugin ships a standalone dev app that mounts the Entity tab against a mock KubeAtlas API, so you can see the cards render without a cluster:

npm install        # honours .npmrc (legacy-peer-deps, required by MUI v4)
npm start          # opens the dev app; visit /kubeatlas

Gates:

npm run lint
npm run tsc
npm test           # Jest unit tests with coverage
npm run build

End-to-end (Playwright drives the dev app):

npx playwright install --with-deps chromium
npm run test:e2e

The unit suite and the e2e both run in CI on every pull request (.github/workflows/ci.yml and e2e.yml).

License

Apache-2.0. See LICENSE.