From f566ffa56566541836a994feb1e3cde54f7cda98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A1n=20Del=20Valle?= <commit@ridv.xyz> Date: Fri, 18 Mar 2022 16:12:27 -0700 Subject: [PATCH] Removing artifact from csi hostpath as it's no longer relevant --- pkg/katbox/README.md | 58 -------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 pkg/katbox/README.md diff --git a/pkg/katbox/README.md b/pkg/katbox/README.md deleted file mode 100644 index 1579858..0000000 --- a/pkg/katbox/README.md +++ /dev/null @@ -1,58 +0,0 @@ -# CSI Hostpath driver - -## Usage: - -### Build hostpathplugin -``` -$ make hostpath -``` - -### Start Hostpath driver -``` -$ sudo ./_output/hostpathplugin --endpoint tcp://127.0.0.1:10000 --nodeid CSINode -v=5 -``` - -### Test using csc -Get ```csc``` tool from https://github.com/rexray/gocsi/tree/master/csc - -#### Get plugin info -``` -$ csc identity plugin-info --endpoint tcp://127.0.0.1:10000 -"csi-hostpath" "0.1.0" -``` - -#### Create a volume -``` -$ csc controller new --endpoint tcp://127.0.0.1:10000 --cap 1,block CSIVolumeName -CSIVolumeID -``` - -#### Delete a volume -``` -$ csc controller del --endpoint tcp://127.0.0.1:10000 CSIVolumeID -CSIVolumeID -``` - -#### Validate volume capabilities -``` -$ csc controller validate-volume-capabilities --endpoint tcp://127.0.0.1:10000 --cap 1,block CSIVolumeID -CSIVolumeID true -``` - -#### NodePublish a volume -``` -$ csc node publish --endpoint tcp://127.0.0.1:10000 --cap 1,block --target-path /mnt/hostpath CSIVolumeID -CSIVolumeID -``` - -#### NodeUnpublish a volume -``` -$ csc node unpublish --endpoint tcp://127.0.0.1:10000 --target-path /mnt/hostpath CSIVolumeID -CSIVolumeID -``` - -#### Get NodeID -``` -$ csc node get-id --endpoint tcp://127.0.0.1:10000 -CSINode -```