Commit Graph
14 Commits
Author SHA1 Message Date
nilsandClaude Sonnet 5.5 900b39a953 k8s: image tag f784553 (the manifest commit before this one)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-19 00:37:26 +01:00
nilsandClaude Sonnet 5.5 f784553717 k8s: image tag 3799fad; the digest of the new image is still to be filled in
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-19 00:36:08 +01:00
nilsandClaude Sonnet 5.5 3799faddcf api: a per-client rate limit on the HTTP API, with trusted proxies for X-Forwarded-For
600 /api/ requests a minute per client address (--requests-per-minute), 429 with Retry-After; static UI files and the node's own machine are exempt. The real client behind a reverse proxy is read from X-Forwarded-For only when the connection comes from a --trusted-proxy, taking the last entry that is not itself a trusted proxy. k8s: TRUSTED_PROXY in config.env (the private ranges) is passed as --trusted-proxy.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-19 00:35:21 +01:00
nilsandClaude Sonnet 5.5 0b3ead4b23 k8s: DIFFICULTY=24 in config.env, passed as --difficulty
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-19 00:24:28 +01:00
nilsandClaude Sonnet 5.5 803202e94e k8s: REGION in config.env; the no-public-address warning names --announce
REGION (place names or geohashes, comma separated) is passed to the node by the StatefulSet script, which now builds its arguments with set -- so a region is optional and PUBLIC_HOST must be set. The warning for a --public node without a public address now says which case it is (no --announce, or one that is not reachable) and the flag that fixes it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 23:37:55 +01:00
nilsandClaude Sonnet 5.5 e379065695 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
2026-11-18 13:25:55 +01:00
nilsandClaude Sonnet 5.5 a598a0ba6b k8s: IngressRoute modelled on the gitea one
Same ingress class (traefik-internal), entry point and shape; the extra
Middleware and redirect routes are gone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 13:20:24 +01:00
nilsandClaude Sonnet 5.5 81c789cc87 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
2026-11-18 13:18:48 +01:00
nilsandClaude Sonnet 5.5 e2a095a5d4 k8s: pin the image by digest as well as by tag
The registry's digest for 0cfb59c, checked by pulling it from the registry
(the local digest differed from the one the registry stores).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 13:11:17 +01:00
nilsandClaude Sonnet 5.5 eafd3b7295 k8s: pin the image to 0cfb59c (has init --no-phrase and orderly shutdown)
The previous tag predates 'init --no-phrase', which the StatefulSet now uses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 13:09:30 +01:00
nilsandClaude Sonnet 5.5 7120959cb8 init --no-phrase: an identity without a recovery phrase
For bootstrap nodes and other unattended setups: nothing is shown or logged,
and the data directory is marked so later messages do not point to
'allmende recover', which cannot work. The identity lasts the certificate
lifetime (a year) and then has to be replaced; the node says so.

The Kubernetes StatefulSet now initialises itself on first start with it,
so no manual exec step is left.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 12:25:54 +01:00
nilsandClaude Sonnet 5.5 4b6b3726af k8s: use the image pushed to git.stinnesbeck.com/nils/allmende
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 12:00:27 +01:00
nilsandClaude Sonnet 5.5 dbd95bb8ef run: --no-login-link keeps the sign-in link out of the terminal
The link holds the admin token. Where the terminal is a log (containers) it
would end up in log storage; the notice then only says where the token file
is. The Kubernetes manifest uses it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 11:56:29 +01:00
nilsandClaude Sonnet 5.5 819df6d512 Kubernetes manifests for a public node, and --announce
k8s/base (kustomize): StatefulSet with a volume, p2p LoadBalancer for 4001
TCP+UDP, ClusterIP for the UI, optional ingress; k8s/overlays/nodeport for
clusters without a load balancer. The pod waits for 'allmende init' so the
recovery phrase never goes to a log.

--announce makes a node that sits behind a router or in a container announce
the address others can dial (e.g. /dns4/name/tcp/4001), so a bootstrap node
behind a port forward works, and the DNS records it prints name the host.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 11:40:25 +01:00