docs: Kubernetes quick start extracts the flat release archive (#1029)

Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47250070744 succeeded (go test (linux), process-level tests (real binaries)) on head 53dbc8fc against main d9aec2e8, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
This commit is contained in:
pingqiu-cpu authored and GitHub committed 2026-12-03 18:27:04 -08:00
1 parent e6ad475f5e
commit e428ebe1b1
1 file changed
+4 -1
+4 -1
View File
@@ -101,11 +101,14 @@ for the checksum step):
```bash
curl -fsSLO https://github.com/seaweedfs/seaweed-block/releases/download/$TAG/sw-block-$TAG-linux-amd64.tar.gz
curl -fsSLO https://github.com/seaweedfs/seaweed-block/releases/download/$TAG/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS && tar -xzf sw-block-$TAG-linux-amd64.tar.gz --strip-components=1
sha256sum -c --ignore-missing SHA256SUMS && tar -xzf sw-block-$TAG-linux-amd64.tar.gz
export PATH="$PWD:$PATH"
sw-block --version
```
From v1.1.1 the archive holds `blockmaster`, `blockvolume` and `sw-block` at its top level, so it is extracted without
`--strip-components`; only v1.1.0's archive kept them in a directory, and this quick start does not use v1.1.0.
To build it instead, install the Go version that `go.mod` names, as in
[appendix A of the operations manual](operations-manual.md#appendix-a-build-from-source),
then run `go build -o sw-block ./cmd/sw-block`.