mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
Merge pull request #693 from seaweedfs/docs/v100-seaweedfs-no-auth
docs: sw-block does not authenticate to SeaweedFS
This commit is contained in:
commit
20102bc3be
2 files changed
+13
No files matched your search
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user