Repository navigation
feat(k8s): move a claim to another storage class with volume move - #7409
Merged
Merged
Conversation
Owner
Author
|
Live check on the homelab, 2026-11-27, with the branch build ( Set-up: a test Deployment with a
The test namespace and its two volumes are deleted. |
dan-petty
marked this pull request as ready for review
November 27, 2026 13:47
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 27, 2026
🤖 I have created a release *beep* *boop* --- ## [0.225.0](v0.224.3...v0.225.0) (2026-11-27) ### Features * **k8s:** move a claim to another storage class with volume move ([#7409](#7409)) ([19bb409](19bb409)) ### Bug Fixes * **k8s:** run infra-drift on Argo v4 with API server egress ([#7410](#7410)) ([6546f84](6546f84)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.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.
devops k8s volume move NAMESPACE/CLAIM --storage-class CLASScopies a claim to a new volume of another StorageClass and binds the claim name to it. A claim cannot change its class, so this moves a claim that keeps its name, such as one ofvolumeClaimTemplates, fromlocal-pathtolonghorn.The target node must attach the class: when a CSIDriver has the name of the provisioner, only nodes whose CSINode lists it. Without
--to-node, the plan picks the one with the most free disk; the node of the old volume can be it. The plan refuses an unknown class and a--to-nodewithout the driver. After the start, the pods must run, on any node.--planprints the old and the target class. The k8s README covers the claim size, the git order and a StatefulSet template.Closes #7382
Change:
openspec/changes/archive/2026-11-27-7382-volume-move-storage-class/