k8s: Traefik IngressRoute instead of an Ingress

Optional (off by default): IngressRoute for the UI with TLS (resolver or
Secret), a security-headers Middleware and an HTTP-to-HTTPS redirect.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
2026-11-18 13:18:48 +01:00
co-authored by Claude Sonnet 5.5
parent e2a095a5d4
commit 81c789cc87
5 changed files with 80 additions and 35 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ DHT and relays for nodes behind a NAT. It also works behind your home router.
```
k8s/base/ namespace, StatefulSet (+1 Gi volume), Services, config
k8s/base/ingress.yaml optional: the web UI on a public name (off by default)
k8s/base/ingressroute.yaml optional: the web UI on a public name, a Traefik IngressRoute (off by default)
k8s/overlays/nodeport/ variant for a cluster without a load balancer
```
@@ -83,7 +83,7 @@ so:
`kubectl -n allmende exec allmende-0 -- cat /data/admin.token`
- **The web UI** is not published by default. For a look at it:
`kubectl -n allmende port-forward svc/allmende-http 8080:8080`. To publish
it, enable `ingress.yaml` in `base/kustomization.yaml` (read its note first:
it, enable `ingressroute.yaml` in `base/kustomization.yaml` (read its note first:
the same port serves the owner API).
- **Regions.** A bootstrap node follows none. To make it also keep listings,
open the UI through the port-forward, sign in and choose regions.