Skip to content

Multi-zone requisite zones should not be filtered #1988

Open
@pwschuurman

Description

@pwschuurman

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions