All projects

Vertex Kubernetes Platform

A five-node RKE2 platform running websites, applications and Stalwart mail with Fleet, replicated storage, S3-compatible object storage, offsite backups, and automated HTTPS and DNS.

RKE2KubernetesRancher FleetPostgreSQLRedis SentinelStalwartHAProxyLonghornGarage S3VeleroBackblaze B2Traefikcert-managerAmazon Route 53openSUSE Leap
Rancher by SUSE logo with blue cow and black wordmark
Official Rancher by SUSE brand artwork.

My websites and applications had outgrown their original home: a single server carrying everything from a document archive to club administration. I built Vertex to bring those services onto a platform I could operate and extend myself, then moved the applications and their data without asking users to learn new addresses or workflows.

Today Vertex runs across five RKE2 nodes on openSUSE Leap. It hosts my own applications, including Kontor2, Rendant, Kataster, Fortuna and Remise, alongside Paperless, Vaultwarden and several websites. Stalwart now runs here too, with separate public mail frontends and shared database services.

Vertex architecture showing separate web and mail routing, Fleet reconciliation, shared mail databases, Garage and Longhorn on five RKE2 nodes.
How traffic, deployments and storage come together on Vertex. Open full-size diagram.

Building a platform I can operate

Three nodes run the control plane and embedded etcd; two workers provide additional application capacity. I use Rancher to manage the cluster and Fleet to reconcile each service from a private Git repository. GitHub Actions builds and scans application images, and verified digests are promoted into the deployment configuration.

Application source passes through GitHub Actions and GHCR into Fleet and a Kubernetes workload.
From a reviewed source change to a running workload. Open full-size diagram.
Rancher Continuous Delivery dashboard showing the Vertex Fleet bundles and their reconciliation status.
Fleet's view of the platform and application bundles. Production snapshot, November 2026.

For public web traffic, Traefik routes requests through Kubernetes Gateway API. cert-manager handles certificate issuance, while ExternalDNS and Route 53 manage selected DNS records. Existing sites keep their CloudFront distributions and protected origins.

Rancher node list showing three control-plane nodes and one worker in the Vertex cluster.
The four-node cluster in Rancher. Production snapshot, November 2026.

Bringing the data with me

I transferred Paperless documents, password vaults, CMS databases and application files alongside the applications. I stopped each old writer for the final transfer, restored the data on Vertex and checked the result against its source. For Paperless, that included comparing the original files by checksum; for object storage, it included checksum verification and application-level reads.

For the web applications, Longhorn supplies replicated volumes for files and databases. I tested a volume by moving a disposable workload between nodes and reading back what it had written. For applications that need object storage, I added Garage and migrated their files into private S3-compatible buckets with separate credentials. Kontor2 uses signed uploads and downloads, while Remise keeps its records and media access separate.

Web applications use Longhorn for database and file volumes and Garage object storage, with three Longhorn volume replicas.
Web application data, object storage and replicated volumes. Mail uses native database replication. Open full-size diagram.

Bringing Stalwart onto the platform

Mail needed a different ingress and storage design from the web applications. Three separate nodes run HAProxy mail frontends, forwarding the real client IP and original destination port with PROXY v2. Three Stalwart replicas keep the existing listener identities and client hostnames. Mail HTTPS passes through Traefik by exact SNI; the original DANE key association is retained alongside cert-manager’s automated default certificate.

The pinned Stalwart build includes my native legacy-password compatibility patch. CloudNativePG manages three PostgreSQL instances with synchronous replication to a standby; they hold mail metadata, blobs and search data. Redis Sentinel manages three Redis members for transient shared state. Their encrypted Longhorn volumes each have one local copy, with PostgreSQL and Redis providing replication across nodes. This differs from the three-copy volumes used by the web applications.

I froze the source writer before the final native export and import, checked the imported data and rebuilt search on Vertex. The collectors and their checkpoints moved under a single active scheduler, with ClamAV and the AI adapter also running in the cluster. Missing required classifications still defer imports and leave the originals upstream.

Mail has a native Velero/B2 backup path for logical PostgreSQL exports, helper state and TLS recovery material. I restored the full database and helper state in isolation. The mail case study describes the migration, native authentication and filtering pipeline.

Backups and recovery

For the web applications, Longhorn replicates volumes across nodes. Deleted files and bad database writes reach those replicas too. I added Velero with offsite storage in Backblaze B2. Fleet manages daily backups of 13 application namespaces and Garage, with 30-day retention.

Database export jobs run ahead of the namespace backups. PostgreSQL exports include the database dump and global roles; MariaDB produces SQL dumps. Those files live on separate export volumes that are backed up alongside application data. Velero takes Longhorn CSI snapshots, then its node agents move the contents to B2 using CSI snapshot data movement.

Database exports feed daily Velero backups. Longhorn CSI snapshots are read by node agents and copied out of Vertex to Backblaze B2 for 30 days.
From database exports and volume snapshots to an offsite copy. Open full-size diagram.

Garage needs its metadata and object data to agree. A pre-backup hook creates an online metadata snapshot before Velero captures its two volumes. I tested recovery while a synthetic object was being overwritten: the restored instance returned the unchanged reference object and a complete version of the overwritten object, with matching hashes. The monitor checks the metadata hook and limits the snapshot handoff window to nine minutes, below Garage’s ten-minute delay before deleting unreferenced blocks.

For restores, I start with a read-only B2 connection and an isolated namespace with default-deny networking. I restore volumes and secrets first, then import the database export into a compatible database and test the application. Production routes and scheduled jobs stay out of the test. The B2 credentials and Velero repository password have independent recovery copies outside the cluster. Fleet supplies deployment definitions; RKE2’s local etcd snapshots cover control-plane recovery separately.

Recovery reads B2 backups into fresh volumes in an isolated namespace, restores database roles and data, then checks files, objects and application requests before a production cutover.
The recovery sequence starts away from production traffic. Open full-size diagram.

A DiaTrack restore into a separate local cluster recovered its volumes from B2 and all eight PostgreSQL tables in the public schema. I also restored Fortuna and Monica PostgreSQL exports and Wengertsberg’s MariaDB export in isolated tests. Paperless AI’s encrypted volume and key were recovered on Vertex.

The backup health job checks recent exports, successful backups and a completed upload for every volume in its Velero backup scope. It flags partial failures, paused schedules and stale backups. An external AWS observer reads the health job’s last successful run through Systems Manager and reports it to CloudWatch, so a stopped cluster check can raise an alarm too.

From migration to daily use

The applications keep their existing hostnames and media paths. Releases follow the shared build and deployment process; health checks verify whether each application is ready.

One example is Kontor2: I separated the process liveness check from dependency-aware readiness, so a slow database does not automatically cause the application to be restarted. Paperless also runs its document AI adapter inside the cluster.

Rancher cluster dashboard showing Vertex resources, node count, deployments and capacity.
The cluster dashboard during day-to-day operation. Production snapshot, November 2026.

The infrastructure repository is private. Public application sources and documentation for the platform components are linked below.

Live products: Kontor2, Rendant and Remise.

Source and references

Get in touch

Happy to talk about a useful application, a complex workflow, or the infrastructure behind it.

Send a message