KOP Recipes - Backstage - Rafay Product Documentation

Backstage

Introduction to Backstage

Backstage is an open platform developed by Spotify for building developer portals and enabling developer self-service. Powered by a centralized software catalog, Backstage enables application teams to ship high-quality code quickly — without compromising autonomy. It allows developers to work with a simpler portal that abstracts away complexity and deliver cloud-native applications faster. In addition, Backstage has an extensible framework that has allowed for an ecosystem of plugins solving a variety of use cases including:

Backstage also has native plugins for Kubernetes while supporting an ecosystem of plugins from different vendors such as ArgoCD, GitHub Actions, Snyk, and more.

What Will You Do

In this exercise you will:

You can follow along using the following YouTube video or going through the instructions below:

Enable Backstage in Rafay Kubernetes Operations Platform | Internal Developer Portal Setup

Assumptions

Step 1: Create a Repository pointing to Backstage Helm repo.

Step 2: Create Custom Catalog Pointing To Backstage Helm Repo

Step 3: Create Namespace To Use For Backstage Add-On

In order to create an add-on, we need to create a namespace on the cluster.

Step 4: Create Backstage Add On From Catalog

Step 5: Create Cluster Blueprint With Backstage Add-On.

Step 6: Update Cluster With Blueprint to deploy Backstage Add-On

Step 7: Access Backstage User Interface Locally

Now we are ready to access the Backstage. The Backstage UI is running on port 7007 so we will run a port-forward to access the instance running in Backstage on our localhost port 7007.

kubectl --kubeconfig <your kubeconfig file> port-forward -n backstage-ns svc/<name of deployment> 7007:7007

Next Steps

Now that you have Backstage up and running you can use Backstage to enable developer self-service and publish plugins, run technical documentation, or leverage other Backstage functionality!