Monitor Kubernetes service health and event history — Go backend · React frontend · PostgreSQL
01cloud-status gives teams a lightweight status dashboard for Kubernetes workloads. It combines live service health checks from the cluster, persisted event history in PostgreSQL, and a web UI for operators and developers. The backend exposes JSON APIs and can also serve the built frontend from the same process.
- Live service health checks for configured Kubernetes workloads
- Historical event browsing with pagination and filtering
- PostgreSQL-backed event storage
- React dashboard bundled and served by the Go application
- Docker support for containerized deployment
| Layer | Technologies |
|---|---|
| Backend | Go, Gin, GORM, Kubernetes client-go |
| Frontend | React, Vite, Bootstrap |
| Storage | PostgreSQL |
| License | Apache 2.0 |
.
├── main.go
├── pkg/v1/
│ ├── controller/
│ ├── middleware/
│ ├── models/
│ ├── repository/
│ └── service/
├── frontend/
└── .github/
Base path: /api/v1
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/v1 |
Current service status list |
GET |
/api/v1/history |
Stored event history |
| Parameter | Type | Description |
|---|---|---|
page |
number | Page number |
limit |
number | Records per page |
serviceName |
string | Filter by service name |
queryText |
string | Search event messages |
startDate |
string | Start date (YYYY-MM-DD) |
endDate |
string | End date (YYYY-MM-DD) |
Copy .env.sample to .env and fill in the required values.
| Variable | Description | Default |
|---|---|---|
KUBECONFIG |
Path to kubeconfig file | — |
NAMESPACE |
Kubernetes namespace to watch | — |
SERVICES |
Comma-separated deployment names | — |
PORT |
HTTP port for the backend | 8080 |
DB_DRIVER |
Database driver name | — |
DB_HOST |
Database host | — |
DB_PORT |
Database port | — |
DB_USER |
Database user | — |
DB_PASSWORD |
Database password | — |
DB_NAME |
Database name | — |
Requirements: Go 1.23+ · Node.js 18+ · npm 9+ · PostgreSQL · Kubernetes cluster or kubeconfig
go mod download
make runcd frontend
npm ci
npm run devThe backend serves files from frontend/dist. Build the frontend before running in bundled mode:
cd frontend
npm ci
npm run builddocker build -t 01cloud-status .The Docker build compiles the frontend and bundles the generated assets into the final image.
Backend
make lint
make testFrontend
cd frontend
npm run lint
npm run buildRepository-wide hooks
pre-commit run --all-filesContributions are welcome. Please read CONTRIBUTING.md before opening issues or pull requests.
Please also review CODE_OF_CONDUCT.md for community expectations.
Please do not report vulnerabilities publicly. See SECURITY.md for responsible disclosure instructions.
This project is currently licensed under the Apache License 2.0. See LICENSE.