Skip to content

KEP-5943: Introducing Snapshot Topology#606

Open
mdzraf wants to merge 1 commit into
container-storage-interface:masterfrom
mdzraf:SnapTopologyPOC
Open

KEP-5943: Introducing Snapshot Topology#606
mdzraf wants to merge 1 commit into
container-storage-interface:masterfrom
mdzraf:SnapTopologyPOC

Conversation

@mdzraf

@mdzraf mdzraf commented Jun 11, 2026

Copy link
Copy Markdown

What type of PR is this?

Introducing Snapshot Topology to CSI Spec.

What this PR does / why we need it:

This PR is part of the changes necessary for kubernetes/enhancements#5944

Special notes for your reviewer:

Does this PR introduce an API-breaking change?:

NONE

@mdzraf

mdzraf commented Jun 11, 2026

Copy link
Copy Markdown
Author

/assign @bswartz

@mdzraf mdzraf force-pushed the SnapTopologyPOC branch from 7e56ece to 4408487 Compare June 12, 2026 12:21
@mdzraf mdzraf changed the title Introducing Snapshot Topology KEP-5943: Introducing Snapshot Topology Jun 24, 2026
@xing-yang

Copy link
Copy Markdown
Contributor

Do we need to add some constraints for TopologyRequirement in CreateVolumeRequest if VolumeContentSource is a Snapshot?

Comment thread csi.proto
// If this field is not specified and the SP has the
// SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY
// choose where the provisioned snapshot is accessible from.
TopologyRequirement accessibility_requirements = 5 [(alpha_field) = true];

@gnufied gnufied Jul 1, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't this be determined by SP from volume?

To be clear - I accept that we probably need the topology in CreateSnapshot response, but I am trying to think why we need this in the request.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was one of the approaches that was considered but decided against because it would be good to support SPs that allow for creating Snapshots with topologies that differ from the source volume amongst other reasons. There is a more detailed explanation in the Alternatives Section of the KEP

@mdzraf

mdzraf commented Jul 1, 2026

Copy link
Copy Markdown
Author

Do we need to add some constraints for TopologyRequirement in CreateVolumeRequest if VolumeContentSource is a Snapshot?

We can discuss this but we will already be enforcing it at provisioning time via the external-provisioner and the custom scheduler plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants