diff options
Diffstat (limited to 'f3s/goprecords/README.md')
| -rw-r--r-- | f3s/goprecords/README.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/f3s/goprecords/README.md b/f3s/goprecords/README.md new file mode 100644 index 0000000..f1c95e4 --- /dev/null +++ b/f3s/goprecords/README.md @@ -0,0 +1,42 @@ +# goprecords on f3s + +This directory contains Docker image and Kubernetes deployment config for `goprecords`. + +## Image workflow + +Build and push to the private NodePort registry: + +```bash +cd /home/paul/git/conf/f3s/goprecords +just build-push +``` + +The image is pushed as: + +- `r0.lan.buetow.org:30001/goprecords:0.3.0` + +The deployment pulls from: + +- `registry.lan.buetow.org:30001/goprecords:0.3.0` + +## Runtime config + +The container runs daemon mode: + +- `-daemon` +- `-listen=:8080` +- `-stats-dir=/data/stats` + +Data persistence: + +- PVC: `goprecords-stats-pvc` +- Mount path: `/data/stats` +- Auth DB defaults to `/data/stats/goprecords-auth.db` + +## Endpoints + +- `/health` (liveness) +- `/livez` (liveness) +- `/readyz` (readiness) +- `/report` (HTTP read API) +- `/upload/{host}/{kind}` (upload API) |
