csi_client/

directory
v1.1.3-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2022 License: Apache-2.0

README

CSI Client

This is a tool used to send requests to a running CSI driver. Currently only the FileStore CSI driver is supported. The tool must be used on the same machine that the driver is running in.

Compiling

LINUX: make csi-client WINDOWS: make csi-client-windows

Usage

NOTE: As commas are used in delimiting map arguments, it is not recommended to use them. They will cause errors.

As of now, only two types of requests are supported:

NodePublish
./csi-client --endpoint="/tmp/csi.sock" --request="nodepublish" volumeAttr="ip=localhost,volume=SMBShare" --targetPath="/smbsharemount"

If the SMB share requires a username and password, these can be provided by using the flags smbUsername and smbPassword:

.\csi-client.exe --endpoint="C:\tmp\csi.sock" --request="nodepublish" -- volumeAttr="ip=localhost,volume=SMBShare" --targetPath="C:\SMBShareMount" --secrets="smbUser=smbuser,smbPassword=foobar"
NodeUnpublish
./csi-client --endpoint="/tmp/csi.sock" --request="nodeunpublish" --targetPath="smbsharemount"

Directories

Path Synopsis
pkg
csi

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL