Skip to content

Commit 53e6a70

Browse files
committed
spec: Clarify calling multiple NodePublishVolume
Clarifies that `NodePublishVolume` can only be called multiple times on a node for a volume if that volume can be published on multiple nodes (i.e., has MULTI_NODE capability). If a volume cannot be published on multiple node, it's weird that we allow it to be publish multiple times on a single node. In other words, it's weird that we allow two workloads to share a volume if they are on the same node, but don't have a way to do that if they are on different nodes.
1 parent 28cea9f commit 53e6a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ If the plugin is unable to complete the ControllerGetCapabilities call successfu
998998

999999
This RPC is called by the CO when a workload that wants to use the specified volume is placed (scheduled) on a node.
10001000
The Plugin SHALL assume that this RPC will be executed on the node where the volume will be used.
1001-
This RPC MAY be called by the CO multiple times on the same node for the same volume with possibly different `target_path` and/or auth credentials.
1001+
This RPC MAY be called by the CO multiple times on the same node for the same volume with possibly different `target_path` and/or auth credentials if the volume has MULTI_NODE capability (i.e., `volume_capability` is either `MULTI_NODE_READER_ONLY`, `MULTI_NODE_SINGLE_WRITER` or `MULTI_NODE_MULTI_WRITER`).
10021002
If the corresponding Controller Plugin has `PUBLISH_UNPUBLISH_VOLUME` controller capability, the CO MUST guarantee that this RPC is called after `ControllerPublishVolume` is called for the given volume on the given node and returns a success.
10031003

10041004
This operation MUST be idempotent.

0 commit comments

Comments
 (0)