docs icon indicating copy to clipboard operation
docs copied to clipboard

Information on required gRPC endpoints seems to be incomplete

Open Rob2309 opened this issue 1 year ago • 1 comments
trafficstars

Section 2 of the docs state

CSI Node service Only NodePublishVolume, NodeUnpublishVolume, and NodeGetCapabilities are required. Required methods enable callers to make a volume available at a specified path and discover what optional functionality the driver supports.

When developing a simple mock CSI driver, I noticed that the node-driver-registrar will call NodeGetInfo unconditionally and refuse to register the driver when this endpoint is not implemented. Thus, I think this endpoint qualifies as being basically mandatory for kubernetes, at least when using the tools proposed in the docs.

Rob2309 avatar Dec 04 '23 18:12 Rob2309