From fc3a1efba44a727bb005fd8b12c26bd5f694d933 Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Thu, 19 Nov 2026 08:36:49 +0100 Subject: [PATCH] k8s: image 46bf7fa and its digest (own-listing recovery, synchronous=NORMAL) 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 1e6e7d2..08a46b1 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 `6e37a2c` (digest in `kustomization.yaml`, pushed 2026-11-19), which has everything above, peer exchange and the faster anti-entropy 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 `46bf7fa` (digest in `kustomization.yaml`, pushed 2026-11-19), which has everything above, peer exchange, the faster anti-entropy, recovery of own listings and `synchronous=NORMAL` 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 52bfdb8..fc4cef5 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: 6e37a2c # the commit the image was built from; `make image` pushes and prints the next one + newTag: 46bf7fa # 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:ebb4a513551f876a7655e7bb0e8f338cd7dc4fd00048ee3a9fcd28e4d040a00e + digest: sha256:b5ddce446cccf081f819aad292b1318cecc47d5a9020caf0ee8e8195abf69228 labels: - pairs: