Description
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:
-
GetPluginInfoResponse
seems like one of the easiest places. The problem of course is -manifest
field inside is amap[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 ofmax_volume_count
. For example - EBS driver on node A may support 40 while it may only support 20 volumes on node B. -
Another option is something like
NodeGetCapabilitiesResponse
.
Does anyone have any other thoughts on this?