feat(storage): move the BuildKit caches onto the zfs-buildkit-* classes #410
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/buildkit-caches-on-uniform-classes"
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?
The classes landed in #404 with no consumers. This puts every surviving BuildKit cache on one:
zfs-buildkit-32kbinjovi-buildkit-ibmi-rpg-cache-32kzfs-buildkit-128kbinjovi-buildkit-cache-128kzfs-buildkit-1mbinjovi-buildkit-package-cache-1mzfs-buildkit-1mshipwright-build/buildkitd-cache-1m128k is the control — the recordsize these caches already ran on. ibmi-rpg to 32k (RPG source is many small files), package and the kernel daemon to 1M (large mostly-sequential artifacts).
Be honest about what this measures. Four daemons building four different things is a daemon-x-recordsize observation, not a controlled experiment. It costs nothing and gives real-world signal; a controlled number needs a fixed Containerfile run against each daemon from cold.
The claims are renamed, not edited.
storageClassNameis immutable, so Flux must delete and recreate the claim — and the running daemon holds thekubernetes.io/pvc-protectionfinalizer, so that delete blocks indefinitely and the recreate then fails with AlreadyExists.force: trueon the Kustomization is the same delete and deadlocks identically, which is why the plan-s original force-based approach was abandoned. A new NAME is a new object: Flux creates it, the Deployment-s Recreate strategy swaps the pod onto it. The suffix names the class, which is what this comparison is about.The three orphaned Binjovi claims get a tombstone (that tree is
prune: false); each Job waits until the live Deployment and its pods are on the new claim before deleting the old one, so an interrupted rollout cannot destroy a volume still in use. Shipwright isprune: trueand needs none.Caches start cold. They are caches. The admission and release claims are untouched — both daemons retire with the
sean/binjovicutover.https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76