Repository navigation
Fix durability volume placement handling - #642
Closed
Hrishikesh Kashyap (Hrishikeshkashyap) wants to merge 6 commits into
Closed
Hrishikesh Kashyap (Hrishikeshkashyap) wants to merge 6 commits into
Hrishikesh Kashyap (Hrishikeshkashyap) wants to merge 6 commits into
Conversation
Add the storage-node requirement to every non-empty required selector term instead of appending a bypassable OR term. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Give durability volumes precedence over availability volumes and intersect their resolved node sets. Deny admission when durability placement is missing or has no common node. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reject Pods that reference missing ordinary PVCs so placement is recalculated on a later CREATE. Preserve generic ephemeral and unbound WFFC claims while continuing to enforce resolved durability volumes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Retain hard topology and owner metadata for durability volumes. Reject wrong-node staging and require an existing LV instead of allocating an empty replacement, while preserving availability recovery. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document affinity composition, multi-volume aggregation, unresolved PVC handling, CSI durability hardening, and live cluster verification results. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cover missing, unbound, and generic-ephemeral claims; affinity composition and volume aggregation; retained topology, owner validation, and existing-only LVM staging. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hrishikesh Kashyap (Hrishikeshkashyap)
requested review from
a team,
Simon Croome (croomes),
jmclong (jmclong) and
Lana Andreasyan (landreasyan)
as code owners
October 13, 2026 12:45
6 of 9 tasks
Contributor
Author
|
Superseded by #641, which now contains the same public-facing changes and updated terminology. |
Hrishikesh Kashyap (Hrishikeshkashyap)
deleted the
fix/durability-placement
branch
October 13, 2026 12:48
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.
Several durability placement gaps could let a Pod bypass storage restrictions, combine durability volumes that do not share a node, or recreate missing durability storage on another node. This PR makes durability placement mandatory from admission through staging while preserving availability-mode recovery.
Type of Change
Description
Admission and scheduling
<pod-name>-<volume-name>for generated generic-ephemeral claim names.CSI defense in depth
CreateVolume.AccessibleTopologyfor durability volumes while availability volumes continue using webhook-managed placement.NodeStageVolumechanges metadata or touches LVM.NotFoundwhen the LV is missing.Behavior Change
A Pod that references a missing ordinary PVC is now denied. The caller must create the PVC and retry Pod creation so admission can resolve and enforce all storage placement constraints. Missing generated generic-ephemeral claims and initially unbound WaitForFirstConsumer claims remain supported.
How Has This Been Tested?
NotFoundand were not recreated.CSI Conformance
CreateVolumeandNodeStageVolumebehavior against CSI specification v1.12.0.FailedPrecondition; missing durability metadata or LV usesNotFound.Checklist