chore(mayastor): stop delivering the Mayastor Kustomizations #242
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/remove-mayastor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mayastor stores nothing. The storage migration finished on 2026-09-03 and every DiskPool now reports
USED 0 B. What remains is the reservation: 4 CPU, 2 GiB of RAM and 2 GiB of hugepages on each of five workers, which is why the workers sit at 88-93% of requested CPU.This PR is deliberately tiny: two resource lines and two Kustomization CR files. Nothing else.
Why it does not delete anything live, and why that is the point
clusterisprune: false(kubernetes/flux/clusters/seanfarm/infrastructure/cluster.yaml:34), so this does not remove the liveopenebs-mayastor/openebs-mayastor-poolsobjects.prune: falsestops garbage collection, not application. While those two files are onmain, theclusterKustomization re-applies them every 10 minutes, so an imperativeflux deletewould be undone before the next reconcile. This commit is what makes the imperative delete stick. Same mechanism and same reasoning as the four observability agents on 2026-08-07, whose comment this extends.Why the inner directories stay
Deleting
kubernetes/flux/infrastructure/openebs-mayastor{,-pools}/here would point a still-live Kustomization at a path that no longer exists. AReady=FalseKustomization blocks the kernel roll's green gate. They go in a follow-up PR, after the live objects are gone. Please do not combine the two.The blocker that was cleared first
The kernel roll's green gate read Mayastor in four places and three were fail-closed:
After the CRD is deleted the first becomes
error: the server doesn't have a resource type "diskpool"and the gate returns 1 for ever — silently removing the cluster's ability to roll a patched kernel, whichAGENTS.mdnames as a security property. There was an earlier trap too: the gate builds its expected pool set fromkubectl get node -l openebs.io/engine=mayastor, so removing the node labels alone already reds it.Fixed and deployed first in
sean/pipelines#2158, released as v0.1.743. The liveClusterWorkflowTemplatenow has zero Mayastor references and the surviving CNPG, OpenBao, MinIO and crashloop predicates are intact.Checks
bash tests/check.shpasses.Teardown that follows this merge
The order is not stylistic. The five DiskPools carry
openebs.io/diskpool-protection, cleared only by the runningmayastor-operator-diskpool. Kill the operator first and they hang inTerminatingfor ever and the namespace never deletes.https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H