https://github.com/0xff-dev/csi-example
Examples of implementing CSI related interfaces
https://github.com/0xff-dev/csi-example
Last synced: about 2 months ago
JSON representation
Examples of implementing CSI related interfaces
- Host: GitHub
- URL: https://github.com/0xff-dev/csi-example
- Owner: 0xff-dev
- Created: 2022-01-23T12:50:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-29T15:35:25.000Z (over 3 years ago)
- Last Synced: 2025-02-02T08:27:31.298Z (4 months ago)
- Language: Go
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# csi-example
Examples of implementing CSI related interfaces# Usage
```shell
go mod download
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build .
docker build -t your-image .# file deploy/deploy.yaml, you shole replace all 172.22.50.227/system_containers/csi-example:beta with your image
kubecel apply -f deploy
```# Reference
[csi spec](https://github.com/container-storage-interface/spec/blob/master/spec.md#rpc-interface)
[csi-driver-host-path](https://github.com/kubernetes-csi/csi-driver-host-path)
[csi blog](https://blog.dianduidian.com/post/%E5%BC%80%E5%8F%91%E8%87%AA%E5%B7%B1%E7%9A%84csi%E5%AD%98%E5%82%A8%E6%8F%92%E4%BB%B6/)