feat: containerd on state volume, DLM simplification, unified snapshot queue#7
Merged
feat: containerd on state volume, DLM simplification, unified snapshot queue#7
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Redirect containerd's storage root to /opt/edcloud/state/containerd so Docker image layers and container data survive reprovision alongside the rest of the state volume. Grow both EBS volume defaults to 30 GB to accommodate the combined footprint (root: OS + dev tools only, state: home + Docker + containerd data). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove the quarterly schedule from the DLM backup policy. With the CLI-managed snapshot queue as the primary safety net, the quarterly tier adds cost and complexity without meaningful benefit for a personal lab. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace dual snapshot systems (DLM auto-wired + CLI manual) with a single flat pool managed entirely by the CLI. Each trigger runs prune(3) → snapshot → prune(3), so the cap enforces itself and drift from a failed prune heals on the next trigger (worst-case +1). Snapshot triggers: - edc up: on-start, fire-and-forget - edc provision: pre-provision, blocking (cleanup path) - edc reprovision: pre-reprovision, blocking - edc destroy: pre-destroy, blocking DLM auto-wiring removed from edc provision and edc destroy; backup-policy commands remain available for opt-in DLM on top. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
/opt/edcloud/state/containerd) so Docker image layers survive reprovision; grow both EBS defaults to 30 GBprune(3) → snapshot → prune(3)on every trigger; DLM auto-wiring removed fromedc provision/edc destroySnapshot triggers
edc upon-startedc provisionpre-provisionedc reprovisionpre-reprovisionedc destroypre-destroyTest plan
edc up→edc snapshot --listshows ≤3 snapshots, newest taggedon-startedc reprovision→ snapshot count stays at 3edc upprunes back to 3edc status→ shows snapshot count, no DLM warning🤖 Generated with Claude Code