Skip to content

NodePublishVolume should not require multi-node capability if called on the same node with different target_paths #349

Open
@rgcostea

Description

@rgcostea

Per the spec, the NodePublishVolume RPC

MAY be called by the CO multiple times on the same node for the same volume with possibly different target_path and/or other arguments if the volume has MULTI_NODE capability (i.e., access_mode is either MULTI_NODE_READER_ONLY, MULTI_NODE_SINGLE_WRITER or MULTI_NODE_MULTI_WRITER).

But if a plugin cannot present the same volume on different nodes simultaneously (block storage) it must report as not supporting multi-node, because supporting multiple containers on the same node is not multi-node.

However, we do support mounting the same volume on the same node at different target_paths (to different containers). I would like to request a capability to say that a volume can be published to multiple containers on the same node. Perhaps we can add a new access mode named SINGLE_NODE_MULTI_ACCESS? Then the spec could be updated to indicate that the NodePublishVolume RPC could work when the volume has this capability.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions