https://github.com/mathu97/fc-csi-driver
A Kubernetes Fibre Channel CSI Driver
https://github.com/mathu97/fc-csi-driver
csi driver fibrechannel kubernetes
Last synced: 22 days ago
JSON representation
A Kubernetes Fibre Channel CSI Driver
- Host: GitHub
- URL: https://github.com/mathu97/fc-csi-driver
- Owner: mathu97
- Created: 2018-08-23T19:11:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-09T23:46:00.000Z (over 7 years ago)
- Last Synced: 2026-05-12T20:37:13.094Z (about 1 month ago)
- Topics: csi, driver, fibrechannel, kubernetes
- Language: Go
- Homepage:
- Size: 5.13 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fibre Channel CSI Driver
## Usage:
### Start Fibre Channel driver
```
$ sudo ./_output/fibrechannel --endpoint tcp://127.0.0.1:10000 --nodeid
```
### Test driver 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
"fibrechannel" "0.1.0"
```
#### NodePublish a volume
```
$ export TARGET_WWNS="[\"\"]")
$ export WWIDS="[]"
$ csc node publish --endpoint tcp://127.0.0.1:10000 --attrib targetWWNs=$TARGET_WWNS --atrib WWIDs=$WWIDS --attrib lun=1 fctestvol
fctestvol
```
#### NodeUnpublish a volume
```
$ csc node unpublish --endpoint tcp://127.0.0.1:10000 fctestvol
fctestvol
```
#### Get NodeID
```
$ csc node get-id --endpoint tcp://127.0.0.1:10000
```