Skip to content

Multi-zone requisite zones should not be filtered #1988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pwschuurman opened this issue Mar 12, 2025 · 0 comments
Open

Multi-zone requisite zones should not be filtered #1988

pwschuurman opened this issue Mar 12, 2025 · 0 comments

Comments

@pwschuurman
Copy link
Contributor

According to the CSI spec: If requisite is specified, the provisioned volume MUST be accessible from at least one of the requisite topologies.

Currently these are filtered based on supported zones:

supportedZones, err := gceCS.getSupportedZonesForPDType(ctx, availableZones, params.DiskType)

We should ensure that provided requisite zones (eg: as specified by a user on a StorageClass) are explicitly attempted to be created. This provides feedback to the user, if they specified unsupported zones.

Additionally, it may be useful to also ensure the provided zones are within the cluster's region (eg: so the user is unable to specify zones that span regions).

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

No branches or pull requests

1 participant