Repository navigation
Description
Problem
devops k8s volume move makes <claim>-move with the size of the old claim. A local-path volume does not limit its data to the size of its claim, but a class such as longhorn does. On 2026-11-27 the move of devops/roadmap-service-home (--storage-class longhorn --access-mode ReadWriteMany) failed with tar: ...: Cannot open: No space left on device: the source held 3,528,025,691 bytes in 313,327 entries, and the claim requests 1Gi. The move undid its steps. The claim in git can get a larger size, but the move takes the size of the live claim, and a bound local-path claim cannot grow.
Change
- Add
--size QUANTITYtodevops k8s volume move:<claim>-moveand the claim made again request that size. The plan refuses a size smaller than the size of the old claim. --planprints the size before and after the move.
Acceptance criteria
- A failing test first: a plan with
--size 10Gimakes both claims withresources.requests.storage: 10Gi. - A live move of a test claim whose data is larger than its request ends with equal digests.
devops cichecks pass.
Related: #7382, #7459, dan-petty/homelab#579.
Alternatives check of 2026-11-27: partly.
Tool: utkuozdemir/pv-migrate (https://github.com/utkuozdemir/pv-migrate), Apache-2.0, last activity 2026-11-26, maintained.
Reason: Searches surfaced pv-migrate, a maintained open tool that copies one claim's data into a destination claim it creates with a chosen storage class and access mode; it covers the move itself but not the size preview, the size guard, or the in-repo plan.
Covers:
- Copies all data from one bound claim into a new claim
- Creates the destination claim with a chosen storage class
- Creates the destination claim with a chosen access mode
- Cleans up the migration Job when the copy fails
Lacks:
- No plan output of the claim size before and after
- No refusal of a destination size smaller than the source
- No in-repo subcommand, tests or git-managed claim re-creation
- No check that both ends end with equal digests
Activity
devops-cli-service commentedon Nov 27, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (10)
Tools considered:
Searches run:
Sources:
chore(main): release 0.231.0 (#7493)
devops-cli-service commentedon Nov 28, 2026
Released in v0.231.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.231.0
devops-cli-service commentedon Nov 28, 2026
Live since 2026-11-28 02:40 UTC