examples目录中包含了使用HBlock CSI插件的YAML文件示例,用户可以根据卷模式(filesystem或block)需要修改其中的参数,即可在Kubernetes集群中使用HBlock创建的卷。
各举例路径如下:
[root@server stor-csi-driver-1.2.0]# cd examples
[root@server examples]# tree
.
├── block-volumes
│ ├── dynamic-pv
│ │ ├── csi-app-local-pvc-block.yaml
│ │ ├── csi-pvc-local-block.yaml
│ │ └── csi-storageclass-local.yaml
│ ├── statefulset
│ │ ├── csi-app-stateful-local-block.yaml
│ │ └── csi-storageclass-local-stateful-block.yaml
│ └── static-pv
│ ├── csi-app-local-pv-block.yaml
│ ├── csi-pvc-local-nocreate-block.yaml
│ └── csi-pv-local-block.yaml
└── filesystem-volumes
├── dynamic-pv
│ ├── local
│ │ ├── csi-app-local-pvc.yaml
│ │ ├── csi-pvc-local.yaml
│ │ └── csi-storageclass-local.yaml
│ ├── local-chap
│ │ ├── csi-app-local-pvc-chap.yaml
│ │ ├── csi-pvc-local-chap.yaml
│ │ └── csi-storageclass-local-chap.yaml
│ └── local-chap-decrypt
│ ├── csi-app-decrypt-local-pvc-chap.yaml
│ ├── csi-pvc-local-chap-decrypt.yaml
│ └── csi-storageclass-local-chap-decrypt.yaml
├── statefulset
│ ├── csi-app-stateful-local.yaml
│ └── csi-storageclass-local-stateful.yaml
└── static-pv
├── csi-app-local-pv.yaml
├── csi-pvc-local-nocreate.yaml
└── csi-pv-local.yaml