9.6 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 or mutating operator yet
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.
- 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.
- Add a lifecycle-owner foundation before adding more storage features. This
is the next control-plane boundary: decide who owns CR metadata/finalizers,
prove the RBAC/API contract against a real Kubernetes API, and keep
operator-status status/events-only. The working contract is
internal/docs/ref/lifecycle-owner-control-contract.md. - Add the first bounded lifecycle mutation only after the lifecycle-owner
boundary is proven. The likely first candidate is finalizer add/remove for
SwBlockVolume, but CRD finalizers require main-objectpatch swblockvolumes, so this must be owned by a lifecycle controller with explicit tests and user-visible preconditions, not by the released status-only observer. - Add returned-replica rebuild/failback, backup/restore, and NVMe ANA parity only after the lifecycle owner can safely authorize, block, and audit a small mutation. These features all add state transitions; doing them before the lifecycle boundary would create more status debt.
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 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
-
Returned replica lifecycle.
- observed replica returns
- candidate -> syncing/rebuilding -> ready
- ready status gates placement/ACK eligibility
-
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.