k8s: image 7da38a9 and its digest (batched sync storage, idle sync timeout)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -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 `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 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
|
||||
@@ -27,12 +27,12 @@ configMapGenerator:
|
||||
images:
|
||||
- name: allmende
|
||||
newName: git.stinnesbeck.com/nils/allmende
|
||||
newTag: 46bf7fa # the commit the image was built from; `make image` pushes and prints the next one
|
||||
newTag: 7da38a9 # 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 <image>:<tag> &&
|
||||
# podman image inspect --format '{{.Digest}}' <image>:<tag>
|
||||
digest: sha256:b5ddce446cccf081f819aad292b1318cecc47d5a9020caf0ee8e8195abf69228
|
||||
digest: sha256:4f1d8e1f047fdcabb798d7fa0c94405a5160e6640462ad2491f2c5afd9200f5e
|
||||
|
||||
labels:
|
||||
- pairs:
|
||||
|
||||
Reference in New Issue
Block a user