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.

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.
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.
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.
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.
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.
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.
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.
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
- Application source: Kontor2, Rendant, Kataster, Fortuna and container builds.
- Platform documentation: RKE2, Rancher Fleet, Longhorn and Garage.
- Routing and automation: Kubernetes Gateway API, cert-manager and ExternalDNS.
- Backup and recovery: Velero restore reference, Garage recovery, Backblaze B2 and RKE2 etcd snapshots.