feat: retire the Pipelines BuildKit fleet #406
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/retire-buildkit-fleet"
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?
Removes namespace
buildkit: a 5-pod DaemonSet runningprivileged: trueon unauthenticated plaintext gRPC :1234, plus five 40 GiB caches.Why it can go. Its only client was the Pipelines
pipeline-build-imagestemplate, retired 2026-09-06. On 2026-09-07buildctl duagainst a fleet pod reported 0 B total, 0 B reclaimable, and/var/lib/buildkitheld 132 KiB of lock and empty database files. It is not declared in this repo — it is ArgoCDApplication/buildkit— and its parent app-of-apps is already gone with its Flux seed stubbed, so nothing recreates it and it would not survivemake rebuild.A tombstone Job, not a kubectl delete, matching
binjovi/buildkit-cache-v2-tombstone.yaml, so the removal is reviewable and replayable. The Application carries no cascade finalizer, so the Job deletes it first to stop ArgoCD re-syncing, then deletes the namespace, which is what actually takes the workloads and caches.buildkitd-restrictnarrows to the one unauthenticated daemon that remains. A selector matching nothing would render, dry-run and reconcile green while denying nothing, so it was checked against live identity labels (k8s:app=buildkitd,k8s:io.kubernetes.pod.namespace=shipwright-build); the only pods it stops selecting are the five being retired. Binjovi's daemons stay unselected — they require mutual TLS. REMAINING WORK item 2 (hostPort 1237) is closed by the retirement itself.The
sean/buildkitREPO is kept. The fork carries a ZFS snapshotter mount-namespace fix and Binjovi still manages its branch protections. Only the ArgoCD Application goes; the guards pinning the Application allow-list are updated, the ones pinning the repository are not.Delete
kubernetes/flux/infrastructure/pipelines-retirement/, its Kustomization and its roll-gate allow-list entry oncekubectl get ns buildkitreturns NotFound.tests/check.shgreen.https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76