Proof of concept Web UI for creating Cluster objects based on SCS Cluster Stacks.
- Read cluster stack and clusterclass templates
- Render/populate yaml in live editor with good defaults
- On "Download": perform form validation, create yaml file and open up download prompt (all client-side)
- ClusterClass and Cluster Stack templates are hard-coded and limited to the
scs/alpha
Cluster Stacks- Ideally they should reflect the current state of each specific Cluster Stack (e.g. metal3/kamaji)
- Possbile solution: Either fetch and parse the ClusterClasses using the GitHub API or use the schema provided by kube-apiserver
- Cluster Stack releases are hard-coded
- Possible solution: Use GitHub API to get releases
pnpm i
pnpm dev
pnpm build
pnpm start
docker build -t cluster-gen .
docker run -p 3000:3000 cluster-gen