Skip to content

Allow CSI drivers to specify how many volumes can be attached to single node #217

Closed
@gnufied

Description

@gnufied

As part of fixing - kubernetes/enhancements#554 , I believe we need to extend the specs to add support for max number of volumes that can be attached to a single node. For sake of discussion lets call it - max_volume_count.

There are couple of places we can do this:

  1. GetPluginInfoResponse seems like one of the easiest places. The problem of course is - manifest field inside is a map[string]string, so we will have to convert string to int before using the field. But there may be bigger problem that - same driver running on 2 different nodes may have different values of max_volume_count. For example - EBS driver on node A may support 40 while it may only support 20 volumes on node B.

  2. Another option is something like NodeGetCapabilitiesResponse.

Does anyone have any other thoughts on this?

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