Coder Social home page Coder Social logo

backstage-plugin-k8sgpt's Introduction

k8sgpt

Welcome to the k8sgpt plugin!

This plugin was created through the Backstage CLI

Getting started

K8sGPT installation:

You need to install K8sGPT via the operator. You need the operator installation because the operator also triggers k8sgpt analyzes and saves the results in result CRs which get display in this backstage plugin. You will need at least v0.0.17 which has backstage-support included.

Install plugin:

yarn add --cwd packages/app @suxess-it/backstage-plugin-k8sgpt

Import plugin and embed in the entities page:

// packages/app/src/components/catalog/EntityPage.tsx

import { K8sGPTPage } from '@suxess-it/backstage-plugin-k8sgpt';

// ...

// add this section to the place where the serviceEntityPage gets defined
// const serviceEntityPage = (
// ...
    <EntityLayout.Route path="/k8sgpt" title="K8sGPT">
      <K8sGPTPage />
    </EntityLayout.Route>

Backstage dependencies and configuration

This plugin depends on the kubernetes-common and kubernetes-backend plugin. If you haven't already installed and configured the kubernetes plugin, please follow the instructions on https://backstage.io/docs/features/kubernetes/ .

Please be aware the the used ClusterRole as described in https://backstage.io/docs/features/kubernetes/configuration#role-based-access-control also needs this permissions to read the k8sgpt results:

- apiGroups:
  - core.k8sgpt.ai
  resources:
  - results
  verbs:
  - get
  - list

What you will see

plugin-k8sgpt shows you the k8sgpt Results for the corresponding entity in a table like this:

image

backstage-plugin-k8sgpt's People

Contributors

jkleinlercher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.