27 KiB
Seaweed Block Roadmap
Document status: public roadmap summary. It is intentionally high level and may trail the internal execution plan between releases. For current user-facing claims, use
quickstart-kubernetes.mdandreleases/README.md.
This roadmap is intentionally practical. The goal is to make a Kubernetes block service that is easy to try, review, and improve without hiding unfinished storage semantics.
Current Alpha MVP
Already demonstrated:
- CSI static PV path on Kubernetes.
- CSI dynamic PVC create path.
- CSI dynamic PVC delete/cleanup path.
- iSCSI mount into a real pod.
- Pod write/read checksum through the mounted volume.
- TestOps registry and CLI MVP.
- Deeper recovery/failover components tested below the K8s surface.
Current alpha constraints:
- single-node Kubernetes lab evidence
- iSCSI and NVMe-oF frontends are release-gated on a single-node lab
walstorebackend only- launcher-generated blockvolume state uses
emptyDir - harness applies generated blockvolume manifests
- generated blockvolume Deployments can use PVC owner references for cleanup
- no production operator yet; only the bounded v0.5 beta-candidate
lifecycle-owner mutates
SwBlockVolume.metadata.finalizers
Near-Term MVP Hardening
-
Package a clean Kubernetes install surface.
- v0.2 alpha: script-based Day-1 activation path
- v0.3 alpha: Helm chart for the same supported path
- document image names, immutable release tags, prerequisites, and cleanup
- remove gate-specific naming from user paths where possible
-
Replace
emptyDirfor blockvolume state.- add durable root configuration
- support hostPath/local-path style lab persistence
- keep
emptyDironly for explicit throwaway smoke tests
-
Add a minimal operator/controller loop after Helm.
- do not jump directly from scripts to an operator
- first stabilize install values, chart ownership, and uninstall behavior
- read-only CRDs, Conditions, Events, node readiness, support evidence refs, cleanup visibility, and safe next-step status are now gated as the first operator foundation
- mutating lifecycle ownership, finalizers, upgrade execution, repair, rebuild, failback, and automatic cleanup remain separate future phases
-
Improve TestOps usability.
- remote shell execution for K8s scenarios
- stable result bundles
- scenario registry index
- stronger negative-path gates for blocked, stale, unreachable, corrupt evidence, and cleanup-residue cases
Current Capability Snapshot
Seaweed Block can already demonstrate a narrow Kubernetes block-storage loop:
- Helm install on supported lab clusters.
- Dynamic PVC provisioning through CSI.
- App pod mount, write, read, and replacement-reader verification.
- iSCSI frontend with gated ALUA/dm-multipath failover evidence.
- RF=3 multi-volume lab path with independent volume identity and publish target.
- Restart persistence for supported hostPath gates.
- Read-only CLI/report/dashboard/support-bundle flows.
- Read-only CRD status and Events for
SwBlockClusterandSwBlockVolume. - Live node evidence for Kubernetes Ready/SchedulingDisabled, CSI registration, CSI image-pull blockers, host-prereq evidence replay, and loopback cross-node attach blockers.
- Negative-first status: blocked, stale, unreachable, or corrupt evidence must
not become false
Ready=True. - Cleanup verification for Kubernetes, iSCSI, multipath, process, and hostPath residue.
- Executable lifecycle action contracts: dry-run actions can be allowed with evidence, unsafe/future-mutating actions are rejected with stable reasons, and CRD/report/dashboard/operator-snapshot surfaces agree on the decision.
- Delete-safety status and cleanup-required visibility without finalizer or cleanup mutation.
- Bounded
SwBlockVolumefinalizer lifecycle in the v0.5 beta-candidate path: CSI-created identity CRs, lifecycle-owner protection finalizer, evidence-driven hold/release, Events, and multi-volume isolation. - Install drift status for current versus desired chart/app/image identity without upgrade execution.
- CRD/RBAC status-writer conformance coverage for the failures that previously escaped mock tests and only failed in live QA.
The product model is converging around one read-only control-plane pattern: truth owners publish facts, the status layer aggregates judgment, executors stay bounded, and evidence explains why the status is allowed. The next work should preserve that model rather than add isolated scripts or separate status systems.
Recommended order from here:
- Operator-status foundation release: complete in v0.4 beta. It claims status/events-only visibility, not lifecycle mutation.
- Operation Layer v0.5 beta candidate: code and QA complete through Phase 44;
release images still need publish/pinned-image smoke before marking it
shipped. The team is intentionally skipping that release step for the next
development slice, so v0.5 must not be marked released from roadmap wording.
It claims a bounded
SwBlockVolumeprotection-finalizer lifecycle, not automatic cleanup or broad operator automation.- Phase 41: lifecycle-owner foundation. Closed 2026-06-14, QA PASS
(
internal/docs/finished-plans/phase41_finishedplan_lifecycle_owner_foundation.md). Observer/lifecycle-owner/executor roles defined; delete-safety preconditions and a dry-run finalizer-release action shipped. - Phase 42: real API/admission proof. Closed 2026-06-15, QA PASS
(
internal/docs/finished-plans/phase42_finishedplan_lifecycle_owner_admission_gate.md). The lifecycle-owner patch boundary is proven with real Kubernetes ValidatingAdmissionPolicy. - Phase 43: first bounded lifecycle mutation. Closed 2026-06-15, QA PASS
(
internal/docs/finished-plans/phase43_finishedplan_bounded_finalizer_lifecycle.md). Finalizer add/release works as isolated gates. - Phase 44: delete lifecycle close gate. Closed 2026-06-17, QA PASS
(
internal/docs/finished-plans/phase44_finishedplan_delete_lifecycle_close_gate.md). The integrated PVC -> protected CR -> hold/release -> zero-residue path is validated end-to-end.
- Phase 41: lifecycle-owner foundation. Closed 2026-06-14, QA PASS
(
- Phase 46: productize returned-replica rebuild/reintegration status and
decisioning. Closed 2026-06-19, QA PASS
(
internal/docs/finished-plans/phase46_finishedplan_returned_replica_reintegration_productization.md). Returned replicas are now Kubernetes/product-surface visible, fenced from frontend/ACK eligibility until evidence supports reintegration, and volume-scoped across multi-volume reports. Automatic failback or broad rebuild execution remains a later executor phase. - Phase 47: returned-replica executor admission. Closed 2026-06-20, QA PASS
(
internal/docs/finished-plans/phase47_finishedplan_returned_replica_executor_admission.md).authority.reintegrate_returned_replicais allowed only as a dry-run, non-mutating action when exact fencing and frontier evidence is present. This is not automatic failback or rebuild execution. - Phase 48: returned-replica live evidence close. Closed 2026-06-20, QA PASS
(
internal/docs/finished-plans/phase48_finishedplan_returned_replica_live_evidence.md). The live iSCSI returned-replica scenario now emits same-run managed-volume evidence proving r1 remains fenced, r2 remains the primary, and the returned replica covers the required frontier before any future executor mutates authority or storage state. - Phase 49: returned-replica executor preflight. Closed 2026-06-20, local PASS
(
internal/docs/finished-plans/phase49_finishedplan_returned_replica_executor_preflight.md). The returned-replica dry-run action now has a typed preflight that is ready only when the target is unique, frontend/ACK fenced, and durable frontier evidence covers the required frontier. It remains non-mutating and does not claim automatic reintegration, rebuild, failback, or frontend publication. - Phase 50: returned-replica preflight status schema. Closed 2026-06-20, local PASS
(
internal/docs/finished-plans/phase50_finishedplan_returned_replica_preflight_status_schema.md). The preflight is now machine-readable in operator-snapshot JSON and SwBlockVolume.status.executorPreflights[], with OpenAPI schema and status-writer coverage. It is still non-mutating. - Phase 51: returned-replica ACK evidence gate. Closed 2026-06-21, QA PASS
(
internal/docs/finished-plans/phase51_finishedplan_returned_replica_ack_evidence_gate.md). The executor preflight now distinguishes explicit ACK non-eligibility from missing ACK evidence. A future executor may not treat defaultack_eligible=falseas proof; preflight readiness requiresack_eligibility_known=trueandack_eligible=false. - Phase 52: returned-replica executor contract. Closed 2026-06-21, QA PASS
(
internal/docs/finished-plans/phase52_finishedplan_returned_replica_executor_contract.md). The future executor boundary is published as a non-mutating contract: execution remains disabled, only ACK eligibility is named as the future allowed mutation class, frontend publication/rebuild traffic/failback remain forbidden, and terminal evidence is required before any later executor can claim completion. - Phase 53: returned-replica authority executor skeleton. Closed 2026-06-22, QA PASS
(
internal/docs/finished-plans/phase53_finishedplan_returned_replica_executor_skeleton.md). The executor process boundary is now disabled-by-default with read-onlySwBlockVolumeaccess. It consumes executor contracts and fails closed on execution-enabled or mutating contracts, but still performs no ACK eligibility mutation, frontend publication, rebuild traffic, or failback. - Phase 54: returned-replica reintegration executor milestone. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase54_finishedplan_returned_replica_reintegration_executor.md). This is intentionally larger than the previous safety-latch phases. It groups executor policy, the ACK eligibility mutation target, admission/RBAC, terminal evidence, failure states, multi-volume isolation, and a live close gate into one milestone. The first allowed mutation remains narrow: returned-replica ACK eligibility only. D1-D7 passed live QA through the RBAC boundary, executor call-site terminal-evidence gate, negative/hold matrix, dedicated multi-volume isolation, and the live returned-replica close gate. Frontend publication, rebuild traffic, and automatic failback remain non-claims. - Phase 55: release and documentation hardening. Closed 2026-06-23, local PASS
(
internal/docs/finished-plans/phase55_finishedplan_release_docs_hardening.md). This phase aligns README, release notes, user capabilities, and developer wiki pages with the Phase 54 boundary. It should not add a new storage feature or broaden the claim beyond ACK eligibility target status. - Phase 56: returned-replica rebuild/catch-up contract. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase56_finishedplan_returned_replica_rebuild_contract.md). The product now surfacesauthority.rebuild_returned_replicaas a disabled future action when a returned replica is frontend-fenced and behind the required frontier. It does not start rebuild traffic. - Phase 57: rebuild progress target. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase57_finishedplan_rebuild_progress_target.md).SwBlockReplicaRebuild.statusexists as the narrow target for planned rebuild progress. The authority executor may write only planned status under therebuild_trafficmutation class; it still does not copy data, publish a frontend, or fail back a replica. - Phase 58: rebuild target owner. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase58_finishedplan_rebuild_target_owner.md). A separate target-owner identity can createSwBlockReplicaRebuildmain objects from ready rebuild contracts. It cannot write status or mutate volume, workload, frontend, or storage state. - Phase 59: rebuild planning close gate. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase59_finishedplan_rebuild_planning_close_gate.md). This gate connects Phases 56-58 as one product path: rebuild contract -> target-owner-created target CR -> executor planned status. It is still planning/status only, not real rebuild data movement. - Phase 60: rebuild/catch-up data-path gate. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase60_finishedplan_rebuild_catchup_datapath_gate.md). The existing engine/adapter/transport/recovery stack now has a repeatable gate proving catch-up traffic, dual-lane rebuild traffic, session close, durable ack, live WAL during rebuild, same-LBA arbitration, and byte-equal convergence. This proves the data path beneath the planning model; it does not yet wire the Kubernetes authority executor to trigger that traffic in a live blockvolume pod. - Phase 61: authority executor runtime call-site. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase61_finishedplan_authority_executor_runtime_callsite.md). The authority executor now has a boundedAuthorityRebuildRuntimeseam. With no runtime it preserves the Phase 59plannedbehavior; with a runtime it writesrunning, invokes the runtime, and maps terminal evidence tocaught_uporblocked. This still does not wire a concrete blockvolume RPC/HTTP/gRPC transport. - Phase 62: authority executor HTTP runtime. Closed 2026-06-23, QA PASS
(
internal/docs/finished-plans/phase62_finishedplan_authority_executor_http_runtime.md). The executor can call a typed HTTP runtime seam and preserve the no-frontend/no-failback/non-ACK-mutation boundary. - Phase 63: rebuild runtime target contract. Closed 2026-06-24, QA PASS
(
internal/docs/finished-plans/phase63_finishedplan_rebuild_runtime_target_contract.md). Runtime targets carry the explicit endpoint/session/frontier fields needed before a blockvolume runtime call can be attempted. - Phase 64: blockvolume runtime endpoint. Closed 2026-06-24, QA PASS
(
internal/docs/finished-plans/phase64_finishedplan_blockvolume_runtime_endpoint.md). The blockvolume status server exposes the bounded/runtime/rebuildendpoint for rebuild/catch-up traffic under explicit opt-in. - Phase 65: runtime terminal evidence. Closed 2026-06-24, QA PASS
(
internal/docs/finished-plans/phase65_finishedplan_runtime_terminal_evidence.md). Rebuild runtime results now distinguish running/caught_up/blocked without claiming frontend publication or failback. - Phase 66: caught-up publication preflight. Closed 2026-06-24, QA PASS
(
internal/docs/finished-plans/phase66_finishedplan_caught_up_publication_preflight.md). Caught-up rebuild evidence feeds the next publication preflight while keeping ACK eligibility, frontend publication, and failback disabled. - Phase 67: ACK eligibility publication. Closed 2026-06-25, QA PASS
(
internal/docs/finished-plans/phase67_finishedplan_ack_eligibility_publication.md). Terminal caught-up evidence can now record ACK eligibility, still without frontend publication, rebuild traffic, or failback. - Phase 68: frontend publication preflight. Closed 2026-06-25, QA PASS
(
internal/docs/finished-plans/phase68_finishedplan_frontend_publication_preflight.md). The product surfaces frontend-publication as an explicit disabled preflight rather than implying it from ACK eligibility. - Phase 69: frontend publication target contract. Closed 2026-06-25, QA PASS
(
internal/docs/finished-plans/phase69_finishedplan_frontend_publication_target_contract.md). A typedSwBlockFrontendPublicationtarget exists, but it creates no frontend or authority side effect. - Phase 70: frontend publication executor boundary. Closed 2026-06-25, QA PASS
(
internal/docs/finished-plans/phase70_finishedplan_frontend_publication_executor_boundary.md). The executor writes disabled status only. - Phase 71: frontend publication live API boundary. Closed 2026-06-25, QA PASS
(
internal/docs/finished-plans/phase71_finishedplan_frontend_publication_live_api_boundary.md). Live Kubernetes API/RBAC proves the executor remains status-only. - Phase 72: frontend publication runtime contract. Closed 2026-06-25, QA PASS
(
internal/docs/finished-plans/phase72_finishedplan_frontend_publication_runtime_contract.md). A generic typed HTTP runtime seam exists for future publication work. - Phase 73: frontend publication authority owner guard. Closed 2026-06-25, local PASS
(
internal/docs/finished-plans/phase73_finishedplan_frontend_publication_authority_owner_guard.md). The returned-replica pipeline now blocks independent frontend publication whenprimaryUnchanged=true, because making a returned replica active is an authority/failback operation, not a standalone runtime status success. - Phase 74: returned-replica failback contract. Closed 2026-06-25, local PASS
(
internal/docs/finished-plans/phase74_finishedplan_returned_replica_failback_contract.md). The ACK-after returned-replica state now surfaces an explicitauthority.failback_returned_replicaaction and disabled executor contract. It namesfailbackas the future mutation envelope, requires terminal evidence for authority ownership, epoch advance, single-primary state, and publish-target swap, and still performs no failback or frontend publication. - Phase 75: returned-replica failback target owner. Closed 2026-06-25, local PASS
(
internal/docs/finished-plans/phase75_finishedplan_failback_target_owner.md). A disabled-by-default target owner can convert a readyauthority.failback_returned_replicacontract into aSwBlockReplicaFailbackhandoff CR only after ACK eligibility, frontend fencing, durable-frontier coverage, and identity-isolation evidence are present. It can create the target object only; it cannot write status, finalizers, Events, storage/workloads, authority state, frontend publication, or failback execution. - Phase 76: returned-replica failback executor boundary. Closed 2026-06-25, local PASS
(
internal/docs/finished-plans/phase76_finishedplan_failback_executor_boundary.md). The failback executor can readSwBlockReplicaFailbacktargets and write disabled/blocked status throughswblockreplicafailbacks/status. It remains status-only: no failback, authority epoch advance, primary reassignment, publish-target swap, frontend publication, or storage mutation is executed. - Add backup/restore and NVMe ANA parity after they can reuse the same action owner, evidence, and status model rather than creating another isolated control plane.
The internal release-train contract is
internal/docs/ref/operation-layer-v0.5-release-train.md. Phases 41-44 close
the operation-layer loop for a bounded SwBlockVolume protection finalizer.
Phase 46 reused this same fact -> judgment -> action -> evidence pattern for
returned-replica reintegration before any larger storage feature is enabled.
Phases 47-54 close the executor-admission, preflight, status-schema, ACK
evidence, executor-contract, disabled executor-process bridge, and first
bounded ACK eligibility mutation without allowing frontend publication, rebuild
traffic, or failback. Phases 56-59 extend that same pattern to returned-replica
rebuild planning: contract, target CR, target owner, and planned status before
any real rebuild/catch-up traffic is enabled. Phases 60-65 prove and wire the
bounded rebuild/catch-up runtime path through terminal evidence. Phases 66-67
record ACK eligibility after terminal caught-up evidence. Phases 68-73 define
and then deliberately constrain frontend publication: the generic runtime seam
exists, but returned-replica publication remains blocked until a real
authority/failback owner is implemented and gated. Phase 74 names that missing
owner contract explicitly as authority.failback_returned_replica while
keeping execution disabled. Phase 75 adds the first target-owner seam for that
contract: SwBlockReplicaFailback can be planned as a handoff object, but no
failback, authority mutation, or frontend publication is executed. Phase 76 adds
the matching executor identity and status-only boundary for those failback
targets, still keeping all real failback side effects disabled.
The practical rule is:
Do not add a new data-plane feature if the product cannot yet explain who owns
the lifecycle action, what evidence authorizes it, how it is blocked, and where
the user sees the result.
Future Read-Write Control Plane
The operation layer should evolve from status-only and bounded finalizer mutation into broader read-write behavior in stages, not as one large "operator does everything" jump.
Current proven boundary:
- CSI owns
SwBlockVolumeidentity/spec creation. - operator-status owns
.statusand Events. - lifecycle-owner owns only the Seaweed Block protection finalizer.
- cleanup, repair, rebuild, failback, backup, and upgrade execution are not automatic operator actions.
The next read-write stages should be ordered by blast radius:
safe_k8s: repair only Seaweed Block-owned Kubernetes objects, with admission/RBAC confinement and terminal evidence.host_cleanup: clean stale iSCSI/multipath/hostPath residue through a node-scoped executor, never through operator-status.authority_mutating: productize returned-replica rebuild/reintegration and failback with fencing, frontier evidence, and multi-volume isolation.data_lifecycle: snapshot, backup, and restore after the consistency and identity model is explicit.
The design reference is
wiki/deep-dives/read-write-control-plane-roadmap.md.
The product rule remains: a mutating action needs live facts, preconditions,
an owner executor, an admission/RBAC boundary, user-visible status, and QA
evidence before it can be enabled.
Future GPU Data Paths
GPU-oriented storage should be treated as a future design train, not as a small flag on the current PVC path. There are three different tracks:
cuFileover a mounted Seaweed Block PVC: first prove API compatibility and byte-correct reads/writes on a supported Linux GPU node.cuObject/ object path: design a SeaweedFS object/S3-style GPU API with its own consistency, auth, and commit semantics.- Protocol-level GPU/RDMA/NVMe path: investigate only after the file/object claims are separated and the fencing/backpressure model is clear.
The first acceptable claim is narrow:
On one supported Linux GPU node, a pod can use cuFile against a mounted
Seaweed Block PVC and verify byte-correct data transfer with documented
environment prerequisites.
It must not claim broad GPUDirect acceleration, zero-copy, multi-node failover,
or object API support until the evidence proves those separately. The design
reference is
wiki/deep-dives/gpudirect-cufile-cuobject.md.
Future Non-Kubernetes Adapters
Kubernetes CSI remains the primary product surface. A Docker integration is possible later, but it should be scoped as a Docker Volume Plugin, not a Docker graph/storage driver.
Potential Docker Volume Plugin path:
docker volume create -d seaweed-block ...- local attach/mount/unmount through a small node agent or local daemon
- reuse ManagedVolume status, cleanup verification, support bundles, and negative-first evidence
- target single-node Docker, lab, edge, or developer workflows first
Explicit non-goals for the Docker path:
- no Docker graph/storage driver to replace
overlay2 - no broad Docker Swarm HA claim before the K8s lifecycle model is stable
- no production failover claim without fencing, cleanup, and residue gates
Windows Docker Desktop support is an investigation item, not a current claim. The likely path is a Linux Docker Desktop VM or WSL2 backend running the Seaweed Block node component, with Windows accessing the mounted volume through Docker. Native Windows block-device attachment is out of scope until the Linux control-plane path is mature.
Availability And Recovery Follow-Ups
-
Multi-node Kubernetes test.
- at least two nodes
- non-loopback frontend target
- dynamic PVC attach from a pod on another node
-
Failover while mounted.
- pod writes
- primary dies
- authority moves
- frontend reconnect path is validated
-
Productized returned replica lifecycle.
- observed replica returns after promotion
- returned replica stays frontend-fenced until recovery evidence is current
- candidate -> syncing/rebuilding -> ready is visible in CRD/report/dashboard
- ready status gates placement/ACK eligibility
- rebuild/reintegration/failback action owner is explicit and audited
-
Flow-control and pressure behavior.
- pin too slow
- WAL retention pressure
- sync/full-ack unavailable policy
Protocol And Backend Roadmap
-
iSCSI and NVMe-oF are the current release-gated frontends.
iSCSI remains the default path for broad compatibility. NVMe-oF is now covered by ANA-aware multipath/failover and CSI protocol-selection gates.
The runtime should be managed as a cluster of explicit mini-protocols: authority/epoch, replication recovery, iSCSI, NVMe, CSI lifecycle, and TestOps run-control. Each mini-protocol needs structured status and tests; avoid a single large protocol abstraction until repeated transition logic proves it is worth extracting. See
runtime-state-machines.md. -
CSI dispatch is protocol-aware.
The CSI layer dispatches by frontend target protocol:
protocol=iscsi -> iscsiadm path protocol=nvme -> nvme connect path -
walstoreremains the MVP backend.smartwalshould be introduced behind an explicit gate with the same K8s scenarios, not silently switched into the MVP.
Contributor-Friendly Work Items
Good first technical areas:
- improve Kubernetes manifests and docs
- add TestOps scenarios
- improve logs and diagnostic collection
- add protocol-neutral CSI target dispatch tests
- reduce
g7-debuglog noise behind a flag
Requires deeper storage context:
- recovery/failover semantics
- WAL retention and flow control
- replica reintegration
- multi-node authority/publisher changes
- broader V2 parity and long-running protocol regression coverage
Definition Of Beta
A reasonable beta bar:
- K8s install path is a Helm chart with documented values and immutable images.
- Dynamic PVC create/delete works repeatedly.
- Volume data survives blockvolume pod restart.
- Multi-node attach works.
- Basic failover is tested under an attached workload.
- Read-only status and support evidence are available without SSH log spelunking.
- Negative and stale states are surfaced without false Ready claims.
- Operator lifecycle is either present behind a clear beta gate or explicitly listed as the next release boundary.
- TestOps can run the protocol release gate and produce stable artifacts.
- Non-claims are documented and visible to users.
Detailed post-alpha execution planning is kept in internal/docs/ so the
public roadmap stays focused on user-visible behavior and non-claims.