Repository navigation
docs(sensor): install the weekly image prune from fenrir's runbook - #1581
Merged
Merged
Conversation
fenrir had homelab-prune-images only because a full installer run once put it there; §4 named the archive prune and patch state, not it, so a rebuilt sensor would never clear superseded images. §4 now installs it, and schedule-maintenance.md lists fenrir among its hosts. The changelog also records removing the seven leftover tool images on fenrir today. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the documentation update clarifying weekly image pruning for fenrir.
No open issues 🎉
What changed in this PR
This docs-only PR makes weekly image pruning an explicit step when rebuilding fenrir, helping prevent superseded images from filling the sensor guest’s 30 GB root disk.
Changes:
- Adds the targeted
--only prune-imagesinstallation command to the sensor runbook. - Updates maintenance documentation to include
fenrirand clarify guest disk alert coverage. - Records the removal of seven unused tool images and the runbook correction.
| File | Description |
|---|---|
docs/runbooks/schedule-maintenance.md |
Includes fenrir among image-prune hosts and broadens the guest disk alert wording. |
docs/runbooks/build-the-sensor-guest.md |
Adds weekly image-prune installation instructions and explains their purpose. |
docs/changelog.md |
Records the unused-image cleanup and documentation updates. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
build-the-sensor-guest.md§4 now installshomelab-prune-imagesonfenrirwith--only prune-images.schedule-maintenance.mdnamesfenriramong the hosts the prune runs on. The changelog records that the seven leftover tool images onfenrirwere removed today.Why
A re-check of the sensor runbook against the box found the weekly prune on
fenrironly because a full installer run had once put it there. §4 installed the archive prune and patch state by name, and not the image prune. So a sensor rebuilt from the runbook would have kept every superseded image on its 30 GB root. The seven lint and validate images (about 928 MB) were the last workstation-era residue a fresh audit would still find, and the 2026-11-17 re-check had left them for the 2026-11-23 prune.Blast radius
Docs only. On
fenrir, the only change made today wasdocker image rmof seven images no container used. The three sensor containers stayed up and healthy.secrets/*.sops.yamlVerification
On
fenrir:docker ps -ashowed only the alloy, socket-proxy and zeek images in use.docker image rmdeleted 7, anddocker system dfnow shows 1.711 GB of images with 0 B reclaimable. The three containers are still(healthy).homelab-prune-images.timeris installed there, Mondays 04:00.On
Saruman:guest-disk-state.promcarriesfenrir's/,/bootand/srv/sensor-data. So the estate's guest disk rules, whichschedule-maintenance.mdnames as what would show a failed prune, coverfenriras written.check_docs.pypasses.lint.shmatchesmainon this Mac: ansible-lint FAILs from the Mac runner, and markdownlint-cli2, zizmor, packer, tofu and editorconfig-checker SKIP for lack of a docker daemon, so CI is the run that checks those.make validatepasses (not run in full on the Mac; see above)Deployed to the lab and confirmed working
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code