Skip to content

blankdots/cnpg-dashboard

Repository files navigation

CNPG Dashboard

A web dashboard for CloudNativePG clusters and Barman object stores. Watches CNPG CRDs via Kubernetes informers and provides a real-time UI with WebSocket updates.

Dashboard

Prerequisites

Quick Start

# Build and run locally (requires kubeconfig)
make frontend   # build React app to static/
make run        # serve on :8080

# Or with Docker
make build      # go build only
docker build -t cnpg-dashboard .
docker run -v ~/.kube:/root/.kube:ro -p 8080:8080 cnpg-dashboard

Local Dev (Tilt + kind)

make kind-create   # create kind cluster
make tilt-up      # build, load image, deploy via Helm

Helm

helm install cnpg-dashboard charts/cnpg-dashboard

The dashboard needs RBAC to watch Cluster and BarmanObjectStore CRDs. The chart creates a ServiceAccount with the required permissions.

About

Simple UI to monitor CNPG clusters

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors