Self-hosting

What you run when you host Wardn yourself, what it needs, and which install to pick.

You can run the whole Wardn control plane on your own infrastructure: the API, the web app and the gateway your clusters connect to. This tab covers installing it, keeping it running and looking up its settings. If you only want to use a Wardn that someone else runs, start at the Quickstart instead.

How it works explains the parts and what crosses the network. The short version follows.

What you run

PartWhat it isWhere it runs
ServerOne binary, wardn serve, that runs four roles: api (the HTTP API), worker (queued background work), controller (periodic tasks such as polling tracked branches and dropping old timeline entries) and gateway (where operators connect).Image ghcr.io/future-pirate-king/wardn-server
Web appThe interface people use. It also hosts sign-in, and forwards /api/v1 to the server, so one address serves both.Image ghcr.io/future-pirate-king/wardn-web
PostgresThe only required dependency. It holds everything: settings, snapshots, Activity, timelines, the secret store and stored objects. Replicas of the server coordinate through it.Bundled for trials, or your own
OperatorA small Deployment in each connected cluster. It dials out to the gateway; nothing dials in.Installed in each cluster by wardn cluster connect, not by these charts

Every replica of the server runs every role by default. The controller's tasks run on one replica at a time, and each cluster is held by exactly one gateway, so adding replicas never runs the same work twice.

Ports

PortProcessWho connectsNotes
3002Web appPeople, the CLI, GitHub webhooksPut your ingress or load balancer here. /api/v1 on this address reaches the server.
8080Server APIThe web appNot needed from outside when the web app is in front.
8443GatewayOperators in your clustersMutual TLS. Must be reachable from every cluster, with nothing in front that ends TLS. See The gateway.
9090Server opsPrometheus, probes/metrics, /livez, /readyz, /debug/pprof. Keep it off the public network. See Monitoring.

Choose an install

InstallForYou provideServer replicasPostgres
Docker ComposeA laptop, a first lookDocker1Bundled container, or yours
wardn-tinyA trial or a homelab on Kubernetes, about 1 to 5 clustersKubernetes, one persistent volume1Bundled StatefulSet, or yours
wardn-standardA team that depends on itKubernetes, a Postgres you run or rent3Yours
wardn-scaleMany clusters or a busy install, with roles scaled on their ownKubernetes, a Postgres you run or rent9, as four DeploymentsYours

All of them run the same images and read the same settings. The charts share their templates, and wardn-tiny and wardn-standard differ only in defaults, so a value means the same in both (Helm chart values). wardn-scale runs each role as its own Deployment.

Compose and wardn-tiny keep the database on one volume with no backups of their own. Use them to evaluate. For anything you would miss, run wardn-standard on a Postgres with backups.

Requirements

  • Kubernetes charts: Helm 3.8 or newer, which can install charts from an OCI registry. The charts are published at oci://ghcr.io/future-pirate-king/charts/.
  • Kubernetes: 1.30 or newer, on the clusters you connect and the one the charts install into. Helm charts are rendered for exactly 1.30 (the oldest supported version), because one snapshot is promoted unchanged to every cluster, so a chart that branches on the Kubernetes version takes the branch every supported cluster can use. Once a year the minimum is raised to the oldest version that Amazon EKS, Google GKE and Azure AKS all still support. The end-to-end tests run on 1.34 by default; the connect, push-to-apply and drift scenarios were also run on a 1.30 kind node image (kindest/node:v1.30.13) and passed. Run them there with E2E_KIND_NODE_IMAGE=kindest/node:v1.30.13 task e2e:kind and task drift; the rest of the end-to-end tests ran on 1.34 only.
  • Postgres: version 14 or newer for your own database. The bundled one is Postgres 18. See Postgres for sizing.
  • Images: published for linux/amd64 and linux/arm64.
  • Network: each cluster you connect needs outbound access to the gateway's address and port. The control plane needs outbound access to your git hosts and container registries.
  • The GitHub App is optional. Without it, Wardn reads any git repository over https:// or ssh:// and polls tracked branches once a minute. With it you get push webhooks, private repositories, pull request previews and commit statuses. See GitHub App.

Editions

The self-hosted control plane is the Community edition unless your license says otherwise. Editions and licensing lists what each edition includes.

Verify what you download

Images, charts and the CLI's checksums file are signed with cosign keyless signing, by the identity of Wardn's release workflow at the release's tag. Each image also carries a signed SBOM and a signed build provenance attestation, and each chart a signed provenance attestation. One script checks all of it for a version:

deploy/scripts/verify-release.sh 0.1.0

Verify Wardn's images explains each check, the cosign commands behind it, and how to pin what you install by digest. With no internet access where you install, copy the release with wardn bundle.

Next

On this page