What it is
kbve.com, as a file server. The Astro/Starlight build in apps/kbve/web —
most of its pages rendered from docs/ — precompressed at build time and
handed out by the axum in apps/kbve/web/server on port 8080. No credential in
the image, and nothing in it that answers an API: beyond the files it only
answers /health and the permanent redirects for URLs the site has retired.
The image also carries kbve.com/git: the folders
tools/git-mirror/public.toml lists, built as bare repos a plain GET can clone,
each continuing from the previous release’s copy. And it carries the hashed
/_kbve bundles of the releases before it, so a page a browser or the CDN
cached still finds its scripts; the gateway sends /_kbve to kbve-cdn, which
pulls those bundles from this image and keeps them.
Where the dynamic routes go
kbve.com used to be one image: axum-kbve served this site’s build and answered
/api, the forum, @user profiles, /ws and the rest beside it. The gateway
(kbve-routes in kube/kbve/manifests/kbve-gateway.yaml) now sends most of
those to services of their own — the forum, profiles, wallet and market, OSRS,
the BBS, workflows, mail, the graph and the dashboard proxies — and this image
takes the pages. What is left, /ws, the rest of /api/v1 and the surfaces
this site does not build yet (the arcade, the react-native-web dashboards, the
store), still goes to axum-kbve, the old ghcr.io/kbve/kbve image. As each
moves into a service of its own, its route moves with it, and axum-kbve shrinks
to nothing.
Releasing
| Step | What happens |
|---|---|
Bump version: above | The only edit a release needs |
kbve-web job | Stamps version.toml and the crate manifest, builds, pushes $IMAGE:$VERSION |
kbve-web-deploy job | Opens a merge request repointing kbve-web-deployment.yaml |
| ArgoCD | Syncs the default branch |
The version continues kbve.com’s own line, from the last axum-kbve build of
the site at 1.0.296, and the footer reads version.toml, so the number a
visitor sees is the tag that shipped.
Discuss on the forum
Questions, fixes and notes on this page live in the KBVE forum.