How to verify Controller's ListVolumes method in Kubernetes CSI driver is working or not?

4/28/2020

So we have one storage driver implemented as per Kubernetes CSI standard and recently we have implemented ListVolumes capability in Controller.

func (xyz *XYZControllerServer) ListVolumes(ctx context.Context, req *csi.ListVolumesRequest) (*csi.ListVolumesResponse, error) {
   ...
}

Now I am not able to see if my changes are working fine or not.
How can we verify ListVolumes capability is working fine? or where we can find the logs for same?

-- Mayank Sachan
kubernetes

0 Answers