From 8ae6d05354a164332364a3c98142b55a7757de8d Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 23:51:01 -0800 Subject: [PATCH] docs: sw-block does not authenticate to SeaweedFS Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 5 +++++ seaweed-block/docs/releases/v1.0.0.md | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 3fb08f192c..0d786db837 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -105,6 +105,11 @@ node's certificate must have the viewer role; check the role file (the chart ref named like an admin client's or blockmaster's, but it cannot see a certificate's role). `scripts/k8s-alpha-certs.sh` issues all four for a trial. +**SeaweedFS is not authenticated.** sw-block reaches the filer over gRPC without TLS and the volume servers over +plain HTTP, with no SeaweedFS credentials of its own (it only passes on the write token the filer returns with each +assignment, when SeaweedFS signs them); `--chunk-filer`, `--chunk-path`, `--chunk-collection` and `--chunk-replication` +are its only SeaweedFS flags. Run SeaweedFS on a trusted network; mTLS covers the blockmaster control API only. + ## Size a host - **Geometry:** a volume's size is `--durable-blocks` x `--durable-blocksize` on `blockvolume`. It must equal diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 705fae7b9a..643aba0638 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -62,6 +62,10 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe operator and admin call. - `--insecure-external-bind` and `--workspace-head-base-url` are removed: blockmaster refuses to start with either. blockmaster reads volume HEADs through its SeaweedFS filer connection (`--chunk-filer`). +- sw-block does not authenticate to SeaweedFS: the filer is reached over gRPC without TLS and the volume servers over + plain HTTP, with no SeaweedFS credentials of its own (it only passes on the write token the filer returns with each + assignment, when SeaweedFS signs them). Run SeaweedFS on a trusted network; mTLS covers the blockmaster control API + only. ## Limits - New volumes are at most 256 GiB (65,536 chunks of 4 MiB) in v1.0.0. A cut's commit checks the chunks it names @@ -111,6 +115,10 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe completes. Retry with the same request id; there is no bypass. ## Known limits +- sw-block does not authenticate to SeaweedFS: the filer is reached over gRPC without TLS and the volume servers over + plain HTTP, with no SeaweedFS credentials of its own (it only passes on the write token the filer returns with each + assignment, when SeaweedFS signs them). Run SeaweedFS on a trusted network; mTLS covers the blockmaster control API + only. - A restore target's first cut reads every filled byte, so it scales with disk read rate (NVMe measured about 1.4 GiB/s: 256 GiB in about 3 min). In v1.0.0 a restore target needs its filled size <= about 4 min x your disk's read rate, otherwise its detach and delete cannot finish and a retry does not converge; a fix is planned for 1.0.1.