mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
docs: tighten next phase control-loop scope
This commit is contained in:
1 parent
dfff50d948
commit
db71805bef
3 files changed
+36
-25
No files matched your search
@@ -90,8 +90,10 @@ preserve that model rather than add isolated scripts or separate status systems.
|
||||
Recommended order from here:
|
||||
|
||||
1. Harden live node evidence so CRD status reflects real Kubernetes node,
|
||||
image, and CSI-driver state.
|
||||
2. Define the lifecycle action model before adding mutating operator behavior.
|
||||
image, CSI-driver, iSCSI/multipath, and loopback/cross-node blocker state.
|
||||
2. Define and test the lifecycle action model before adding mutating operator
|
||||
behavior. This must include executable dry-run and rejected-action gates, not
|
||||
only a document.
|
||||
3. Add finalizer/delete safety as the first mutating operator slice.
|
||||
4. Add upgrade/rollback drift status before upgrade execution.
|
||||
5. Add returned-replica rebuild/failback, backup/restore, and NVMe ANA parity
|
||||
|
||||
@@ -406,9 +406,9 @@ phases rather than being mixed into the closed foundation.
|
||||
|
||||
4. Node readiness/preflight status:
|
||||
iSCSI, multipath, image readiness, hostPath readiness, and observed version
|
||||
under `SwBlockCluster.status.nodes[]`. Status: QA-validated in Phase 36 for
|
||||
positive live paths and replay-only missing-image blockers; live negative
|
||||
node evidence remains a follow-up.
|
||||
under `SwBlockCluster.status.nodes[]`. Status: Phase 36 validated positive
|
||||
read-only node readiness and replay-only missing-image blockers. Live
|
||||
negative node evidence remains Phase 37.
|
||||
5. Support-bundle pointers:
|
||||
keep the CLI collection path, but expose evidence refs and suggested
|
||||
commands from status. Status: closed in Phase 36.
|
||||
@@ -472,8 +472,9 @@ loop:
|
||||
- `SwBlockCluster` and `SwBlockVolume` CRDs exist with status subresources.
|
||||
- The optional operator-status controller writes `.status` and Kubernetes
|
||||
Events only.
|
||||
- Node readiness, support evidence refs, cleanup visibility, safe next-step
|
||||
hints, and surface agreement are QA-validated under the read-only model.
|
||||
- Positive/read-only node readiness, support evidence refs, cleanup visibility,
|
||||
safe next-step hints, and surface agreement are QA-validated under the
|
||||
read-only model. Live negative node blockers remain Phase 37.
|
||||
|
||||
### Model Convergence State
|
||||
|
||||
@@ -510,15 +511,19 @@ Still incomplete:
|
||||
The operations work can continue forever unless the next phases are bounded by
|
||||
product risk. The recommended order is:
|
||||
|
||||
1. **Live node evidence hardening.**
|
||||
1. **Phase 37: Live node evidence hardening.**
|
||||
Highest ROI and lowest mutation risk. It makes the read-only status model
|
||||
trustworthy before any lifecycle action depends on it. It should cover
|
||||
Kubernetes Ready/Schedulable, image presence, CSI driver registration, and
|
||||
loopback/cross-node publish-target blockers.
|
||||
2. **Lifecycle action model review.**
|
||||
Define the contract for future mutating actions before implementing them:
|
||||
facts required, preconditions, invariants, allowed executor, rollback/failure
|
||||
behavior, and evidence emitted.
|
||||
only Kubernetes Ready/SchedulingDisabled, CSI node pod readiness,
|
||||
CSIDriver/node-plugin registration, required image presence or image-pull
|
||||
status, iSCSI/multipath prerequisite evidence, and loopback target
|
||||
cross-node blockers.
|
||||
2. **Phase 38: Lifecycle action model executable contract.**
|
||||
Define and test the contract for future mutating actions before implementing
|
||||
them: facts required, preconditions, invariants, allowed executor,
|
||||
rollback/failure behavior, and evidence emitted. This phase must include at
|
||||
least one dry-run action test and one rejected-action test; documentation
|
||||
alone is not enough.
|
||||
3. **Finalizer/delete safety.**
|
||||
First mutating lifecycle slice. It should remove or block deletion with clear
|
||||
status when PVC/CRD teardown would leave iSCSI, multipath, hostPath, or
|
||||
@@ -563,9 +568,10 @@ Approximate engineering effort if scope remains tight:
|
||||
- Phase 35 closed the Kubernetes-native read-only operator foundation:
|
||||
CRDs, status-only reconciliation, Conditions, Events, stable Event identity,
|
||||
and read-only boundary tests.
|
||||
- Phase 36 Productized Operations Actionability is closed. Node readiness,
|
||||
support evidence pointers, cleanup visibility, and surface agreement are
|
||||
QA-validated under the read-only control-plane model.
|
||||
- Phase 36 Productized Operations Actionability is closed. Positive/read-only
|
||||
node readiness, support evidence pointers, cleanup visibility, and surface
|
||||
agreement are QA-validated under the read-only control-plane model. Live
|
||||
negative node evidence remains Phase 37.
|
||||
- Active work is currently not opened. Choose the next gated phase explicitly.
|
||||
- Do not start NVMe ANA parity, rebuild/failback, backup/restore, or mutating
|
||||
operator workflows by extending Phase 36. Pick those as separate gated
|
||||
|
||||
@@ -174,15 +174,16 @@ control loop can reliably say what is true and what action is safe.
|
||||
|
||||
Goal:
|
||||
|
||||
Make node readiness facts real, not replay-only.
|
||||
Make node readiness blockers real, not replay-only, without expanding into a
|
||||
general node-operations phase.
|
||||
|
||||
Required live facts:
|
||||
|
||||
- Kubernetes Ready / SchedulingDisabled.
|
||||
- image presence for required sw-block images.
|
||||
- CSI driver registration per node.
|
||||
- Kubernetes Node Ready / SchedulingDisabled.
|
||||
- CSI node pod readiness.
|
||||
- CSIDriver and node-plugin registration.
|
||||
- Required image presence or image-pull status.
|
||||
- iSCSI and multipath readiness.
|
||||
- hostPath readiness where enabled.
|
||||
- loopback publish-target cross-node blocker.
|
||||
|
||||
Why first:
|
||||
@@ -197,7 +198,8 @@ Estimated effort: small/medium.
|
||||
|
||||
Goal:
|
||||
|
||||
Turn the semantic action model into a concrete contract before mutation.
|
||||
Turn the semantic action model into a concrete, executable contract before
|
||||
mutation.
|
||||
|
||||
Required output:
|
||||
|
||||
@@ -209,12 +211,14 @@ Required output:
|
||||
- idempotency/retry behavior,
|
||||
- failure status,
|
||||
- evidence emitted,
|
||||
- TestOps gate for at least one no-op/dry-run and one rejected action.
|
||||
- TestOps or unit/component gate for at least one no-op/dry-run action and one
|
||||
rejected action.
|
||||
|
||||
Why second:
|
||||
|
||||
- It prevents finalizer/delete safety from becoming another local script with
|
||||
nicer names.
|
||||
- It prevents the review from becoming another semantic-only document.
|
||||
|
||||
Estimated effort: medium.
|
||||
|
||||
@@ -261,4 +265,3 @@ operations capability and caught real bugs. But the model is only half closed.
|
||||
The next value is not more vocabulary. The next value is making the fact/action
|
||||
loop concrete enough that the first mutating lifecycle behavior can be safely
|
||||
implemented.
|
||||
|
||||
Reference in new issue
Block a user