k8s: enable the Traefik IngressRoute

Listed in the kustomization now; the comments and README no longer call it
off by default.

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:25:55 +01:00
co-authored by Claude Sonnet 5.5
parent a598a0ba6b
commit e379065695
3 changed files with 10 additions and 10 deletions
+5 -5
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/ namespace, StatefulSet (+1 Gi volume), Services, config
k8s/base/ingressroute.yaml optional: the web UI on a public name, a Traefik IngressRoute (off by default) k8s/base/ingressroute.yaml the web UI on a public name, a Traefik IngressRoute
k8s/overlays/nodeport/ variant for a cluster without a load balancer k8s/overlays/nodeport/ variant for a cluster without a load balancer
``` ```
@@ -81,10 +81,10 @@ so:
When you do want to sign in, read the token yourself and open When you do want to sign in, read the token yourself and open
`http://localhost:8080/#/login/<token>` through the port-forward below: `http://localhost:8080/#/login/<token>` through the port-forward below:
`kubectl -n allmende exec allmende-0 -- cat /data/admin.token` `kubectl -n allmende exec allmende-0 -- cat /data/admin.token`
- **The web UI** is not published by default. For a look at it: - **The web UI** is published through Traefik by `ingressroute.yaml` (host in
`kubectl -n allmende port-forward svc/allmende-http 8080:8080`. To publish that file). The same port serves the owner API, which the admin token
it, enable `ingressroute.yaml` in `base/kustomization.yaml` (read its note first: protects. To keep it private, comment the file out in `base/kustomization.yaml`
the same port serves the owner API). and use `kubectl -n allmende port-forward svc/allmende-http 8080:8080`.
- **Regions.** A bootstrap node follows none. To make it also keep listings, - **Regions.** A bootstrap node follows none. To make it also keep listings,
open the UI through the port-forward, sign in and choose regions. open the UI through the port-forward, sign in and choose regions.
- **More than one bootstrap node** on different networks makes the network - **More than one bootstrap node** on different networks makes the network
+3 -3
View File
@@ -1,6 +1,6 @@
# Optional: the web UI on a public name, through Traefik, modelled on the gitea # The web UI on a public name, through Traefik, modelled on the gitea
# IngressRoute (same ingress class, entry point and shape). Not part of the # IngressRoute (same ingress class, entry point and shape). It is listed in
# kustomization until you enable it there. # kustomization.yaml; comment it out there to run without a public UI.
# #
# There is no separate web image: the UI is built into the allmende binary, so # There is no separate web image: the UI is built into the allmende binary, so
# the one image (see kustomization.yaml) serves it on port 8080. # the one image (see kustomization.yaml) serves it on port 8080.
+2 -2
View File
@@ -14,8 +14,8 @@ resources:
- statefulset.yaml - statefulset.yaml
- service-p2p.yaml - service-p2p.yaml
- service-http.yaml - service-http.yaml
# Optional: the web UI on a public name. Traefik IngressRoute; read the note in ingressroute.yaml first. # The web UI on a public name (Traefik IngressRoute). Comment it out to keep the UI private.
# - ingressroute.yaml - ingressroute.yaml
configMapGenerator: configMapGenerator:
- name: allmende-config - name: allmende-config