New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@backstage/plugin-kubernetes

Package Overview
Dependencies
Maintainers
3
Versions
1394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/plugin-kubernetes

A Backstage plugin that integrates towards Kubernetes

  • 0.12.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27K
increased by13.83%
Maintainers
3
Weekly downloads
 
Created
Source

Kubernetes

Welcome to the Backstage Kubernetes frontend plugin!

This plugin exposes information about your entity-specific Kubernetes objects with a desire to provide value to the service owner, rather than just a Kubernetes cluster administrator.

It will elevate the visibility of errors where identified, and provide drill down about the deployments, pods, and other objects for a service.

It directly interfaces with the Kubernetes Backend Plugin (@backstage-plugin-kubernetes-backend).

This plugin was created through the Backstage CLI

Introduction

See our announcement blog post New Backstage feature: Kubernetes for Service Owners to learn more about the motivation behind developing the plugin.

Setup & Configuration

This plugin must be explicitly added to a Backstage app, along with it's peer backend plugin.

It requires configuration in the Backstage app-config.yaml to connect to a Kubernetes API control plane.

In addition, configuration of an entity's catalog-info.yaml helps identify which specific Kubernetes object(s) should be presented on a specific entity catalog page.

For more information, see the formal documentation about the Kubernetes feature in Backstage.

Getting started

Your plugin has been added to the example app in this repository, meaning you'll be able to access it by running yarn start in the root directory, and then navigating to /kubernetes.

You can also serve the plugin in isolation by running yarn start in the plugin directory. This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads. It is only meant for local development, and the setup for it can be found inside the /dev directory.

Integrating with EntityPage (New Frontend System)

Follow this section if you are using Backstage's new frontend system.

  1. Import kubernetesPlugin in your App.tsx and add it to your app's features array:
import kubernetesPlugin from '@backstage/plugin-kubernetes/alpha';

// ...

export const app = createApp({
  features: [
    // ...
    kubernetesPlugin,
    // ...
  ],
});
  1. Next, enable your desired extensions in app-config.yaml.
app:
  extensions:
    - entity-content:kubernetes/kubernetes

Now, the extension appears on your entity page as one of the tabs, which is called KUBERNETES. By default, the tab will only appear on entities that are Components or Resources. You can override that behavior by providing a config block to the extension, like so:

app:
  extensions:
    - entity-content:kubernetes/kubernetes:
        config:
          filter: kind:component,api,resource,system

Keywords

FAQs

Package last updated on 18 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc