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:
+5
-5
@@ -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/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
|
||||
```
|
||||
|
||||
@@ -81,10 +81,10 @@ so:
|
||||
When you do want to sign in, read the token yourself and open
|
||||
`http://localhost:8080/#/login/<token>` through the port-forward below:
|
||||
`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 `ingressroute.yaml` in `base/kustomization.yaml` (read its note first:
|
||||
the same port serves the owner API).
|
||||
- **The web UI** is published through Traefik by `ingressroute.yaml` (host in
|
||||
that file). The same port serves the owner API, which the admin token
|
||||
protects. To keep it private, comment the file out in `base/kustomization.yaml`
|
||||
and use `kubectl -n allmende port-forward svc/allmende-http 8080:8080`.
|
||||
- **Regions.** A bootstrap node follows none. To make it also keep listings,
|
||||
open the UI through the port-forward, sign in and choose regions.
|
||||
- **More than one bootstrap node** on different networks makes the network
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Optional: 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
|
||||
# kustomization until you enable it there.
|
||||
# The web UI on a public name, through Traefik, modelled on the gitea
|
||||
# IngressRoute (same ingress class, entry point and shape). It is listed in
|
||||
# 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
|
||||
# the one image (see kustomization.yaml) serves it on port 8080.
|
||||
|
||||
@@ -14,8 +14,8 @@ resources:
|
||||
- statefulset.yaml
|
||||
- service-p2p.yaml
|
||||
- service-http.yaml
|
||||
# Optional: the web UI on a public name. Traefik IngressRoute; read the note in ingressroute.yaml first.
|
||||
# - ingressroute.yaml
|
||||
# The web UI on a public name (Traefik IngressRoute). Comment it out to keep the UI private.
|
||||
- ingressroute.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: allmende-config
|
||||
|
||||
Reference in New Issue
Block a user