From b922808a51c8e3f765bf11ab0e2b2f87b0118684 Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Thu, 19 Nov 2026 10:47:03 +0100 Subject: [PATCH] k8s: image 85c26ad and its digest (Invite someone page) Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw --- SPECS.md | 2 +- k8s/base/kustomization.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS.md b/SPECS.md index e90f053..2254710 100644 --- a/SPECS.md +++ b/SPECS.md @@ -118,7 +118,7 @@ in the middle. | Fast proof-of-work miner (`internal/pow/mine.go`), default difficulty 24 for listings, reports and revocations | done; **network-wide change**: nodes still at 16 and nodes at 24 exchange no listings | | Abuse limits: per-peer gossip rate and ban (`internal/p2p/guard.go`), sync stream limits, 100 listings per author, 16 inbound connections per public IP, 600 API requests a minute per client, trusted proxies for `X-Forwarded-For` | done, tested, simulated | | Packaging: Dockerfile, Nix flake and module, `make image` | done | -| Kubernetes bootstrap node (`k8s/`, kustomize, Traefik IngressRoute; `DIFFICULTY`, `REGION`, `TRUSTED_PROXY` in `config.env`) | written and **deployed by the owner**. The manifest now pins image `7da38a9` (digest in `kustomization.yaml`, pushed 2026-11-19), which has everything above, peer exchange, the faster anti-entropy, recovery of own listings, `synchronous=NORMAL`, batched sync storage and the idle sync timeout included; whether it is applied is the owner's to say, and the previously running image is older than digest sync, anti-entropy and reports | +| Kubernetes bootstrap node (`k8s/`, kustomize, Traefik IngressRoute; `DIFFICULTY`, `REGION`, `TRUSTED_PROXY` in `config.env`) | written and **deployed by the owner**. The manifest now pins image `85c26ad` (digest in `kustomization.yaml`, pushed 2026-11-19), which has everything above, peer exchange, the faster anti-entropy, recovery of own listings, `synchronous=NORMAL`, batched sync storage, the idle sync timeout and the "Invite someone" page included; whether it is applied is the owner's to say, and the previously running image is older than digest sync, anti-entropy and reports | | Load tool `cmd/allmende-load` (signed invented listings into a data directory, mining-time measurement) and `scripts/fake-listings.mjs` | done. A 100,000-listing capacity test was started and **dropped on purpose** (owner: not a goal now); the limits noticed on the way are `maxSyncPages` 200 × page 500, `syncTimeout` 2 minutes, a `ListingDigest` that scans a whole region, one SQLite connection | | Network simulator `cmd/allmende-sim`: 100-300 real nodes, latency, connection loss, attackers, seeds down, repair (results in docs/PROTOCOL.md) | done | | Tests: Go (`-race`), web (`node:test` + jsdom), end-to-end with real binaries (`make e2e`) | all passing | diff --git a/k8s/base/kustomization.yaml b/k8s/base/kustomization.yaml index ec837e6..e324d75 100644 --- a/k8s/base/kustomization.yaml +++ b/k8s/base/kustomization.yaml @@ -27,12 +27,12 @@ configMapGenerator: images: - name: allmende newName: git.stinnesbeck.com/nils/allmende - newTag: 7da38a9 # the commit the image was built from; `make image` pushes and prints the next one + newTag: 85c26ad # the commit the image was built from; `make image` pushes and prints the next one # The digest is what the cluster pulls (the tag above is for people: a tag can # be overwritten in the registry, a digest cannot). Change both together; get # the digest after pushing with: podman pull --policy=always : && # podman image inspect --format '{{.Digest}}' : - digest: sha256:4f1d8e1f047fdcabb798d7fa0c94405a5160e6640462ad2491f2c5afd9200f5e + digest: sha256:97ee728d464c949429bd37270a7f8d60818a0bc030c6be39e4d82e0a735fd6cf labels: - pairs: