Files
seaweedfs/seaweed-block/scripts/overview.md
T
Ping Qiu e387d4e4bb ops: add light-use operations and placement gates (#47)
Add the light-use operations path for Seaweed Block alpha users.

This includes per-volume status bundles, cluster inventory, product-owned blockvolume lifecycle, durable restart/reattach evidence, same-node alpha placement checks, TestOps control data, and the supporting runner-native gates and QA close reports.

The next active plan is Basic Mounted Failover And Reattach MVP, which carries RF=2/RF=3 recovery work forward without claiming it closed in this milestone.
2026-05-13 01:31:21 -07:00

3.6 KiB

scripts/ Overview

This directory contains developer and QA helper scripts.

Scripts

Script Purpose
install-k8s-alpha.sh Installs the alpha blockmaster and CSI stack, leaving it running for user PVCs.
apply-k8s-alpha-blockvolumes.sh Legacy/internal fallback: manually applies blockvolume workloads if product-owned reconciliation is disabled.
uninstall-k8s-alpha.sh Removes the alpha stack and generated blockvolume workloads.
run-k8s-demo.sh Public app-demo wrapper. Shows writer pod -> same PVC -> reader pod verification.
run-k8s-demo-ghcr.sh Public app-demo wrapper using published GHCR alpha images.
run-k8s-alpha.sh Public alpha smoke wrapper. Prefer this in README/user docs.
run-k8s-alpha-large.sh Optional 256 MiB Kubernetes alpha smoke for larger iSCSI write coverage.
run-k8s-alpha-fio.sh Optional 256 MiB Kubernetes alpha smoke with a 60s fio randrw workload.
run-k8s-attach-detach-loop.sh QA loop wrapper. Repeats the app PVC attach/write/read/delete flow and stores per-iteration artifacts.
run-k8s-csi-node-restart.sh QA wrapper. Restarts the CSI node DaemonSet between writer and reader pods using the same PVC.
build-alpha-images.sh Builds local Docker images used by the Kubernetes alpha harness.
testops-run-nvme-p5-suite.sh Developer-owned TestOps suite: pin-builds alpha images, then runs NVMe dynamic PVC and default iSCSI regression with the pinned image env.
run-alpha-k8s-dynamic.sh Public dynamic PVC alpha smoke entry.
run-alpha-app-demo.sh App-demo implementation used by run-k8s-demo.sh.
run-iscsi-os-smoke.sh Privileged Linux OS-initiator smoke: iscsiadm -> mkfs.ext4 -> mount -> checksum -> logout on a 256 MiB target.
run-iscsi-backend-fio-matrix.sh Privileged Linux OS-initiator backend matrix: runs the same fio workload against walstore and smartwal, writing per-backend artifacts and an experimental summary.
run-iscsi-compat-soak.sh Privileged compatibility soak wrapper: runs OS fio repeat and optional K8s fio / attach-detach steps with one summary.
run-iscsi-alua-os-smoke.sh Privileged Linux OS-initiator smoke for ALUA reporting: iscsiadm -> sg_inq/sg_rtpg -> mount -> checksum -> logout.
run-iscsi-alua-multipath-smoke.sh Privileged Linux OS-initiator smoke for two iSCSI paths: two portals -> ALUA active/standby evidence -> standby write reject -> multipath -ll.
run-iscsi-alua-mounted-failover-smoke.sh Privileged Linux OS-initiator smoke for mounted multipath failover: mount /dev/mapper/*, kill active path, wait r2 primary, verify checksum read/write.
run-nvme-os-smoke.sh Privileged Linux OS-initiator smoke: nvme connect -> mkfs.ext4 -> mount -> checksum/fio/dd -> disconnect.
run-nvme-multipath-smoke.sh Privileged Linux OS-initiator smoke for two NVMe/TCP paths: two portals -> ANA/identity evidence -> native multipath grouping check.
build-g15b-images.sh Compatibility wrapper for older QA scripts.
run-g15b-k8s-static.sh Historical static PV Kubernetes harness.
run-g15d-k8s-dynamic.sh Historical dynamic PVC harness used by compatibility scenarios.
iterate-m01-nvme.sh Lab iteration helper for NVMe work.
iterate-m01-replicated-write.sh Lab iteration helper for replicated write tests.
genproto.sh Protocol/code generation helper.

Design Rules

  • User-facing scripts should avoid internal gate labels in output.
  • Lab scripts may keep historical names for reproducibility, but wrapper scripts should provide stable product-facing names.
  • Scripts should preserve artifacts on failure before cleanup.