Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.73 KB

README.md

File metadata and controls

70 lines (46 loc) · 1.73 KB

Cluster Gen

Web UI for creating Cluster objects based on SCS Cluster Stacks.

Workflow

  • Read ClusterClass schema definitions from the kube-apiserver of your cluster via the API provided by capi-jsgen
  • Render yaml form with live editor
  • On Download: perform form validation, create yaml file and open up download prompt

Built with

Setup

Requirements

  • A running cluster in which you apply your ClusterClass definitions
  • An instance of capi-jsgen running in your cluster

Develop locally

Prerequisites

Environment variables

  • Create a .env file similar to .env.example in the root of the application and fill in all values.

Start the development server

pnpm i
pnpm dev

Build for production

pnpm build
pnpm start

Docker

docker build -t cluster-gen .
docker run -p 3000:3000 cluster-gen

Helm

Inside charts/ you can find a minimal chart to deploy Cluster Gen on Kubernetes with a Service and an Ingress.

Release

A new release and build is triggered by a version tag push

git tag v0.0.x
git push origin v0.0.x