Skip to content

Commit

Permalink
add note for chdfs-v1.0.3
Browse files Browse the repository at this point in the history
binqiniu committed May 10, 2023
1 parent d28c090 commit 7153ebc
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/chdfs/kubernetes/csi-node.yaml
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: ccr.ccs.tencentyun.com/tkeimages/csi-tencentcloud-chdfs:v1.0.2
image: ccr.ccs.tencentyun.com/tkeimages/csi-tencentcloud-chdfs:v1.0.3
args:
- "--v=5"
- "--logtostderr=true"
16 changes: 16 additions & 0 deletions docs/README_CHDFS_zh.md
Original file line number Diff line number Diff line change
@@ -129,3 +129,19 @@ $ kubectl get pod
NAME READY STATUS RESTARTS AGE
csi-chdfs-pod-6bdcf45f89-lrw82 1/1 Running 0 9s
```

### 多目录挂载说明

需要预先在对应的chdfs文件系统中创建对应的子目录,然后创建pvc,pv来指定到对应的子目录,以下是在pv yaml中指定子目录的示例

```yaml
csi:
driver: com.tencent.cloud.csi.chdfs
volumeAttributes:
additional_args: client.mount-sub-dir=/aaa #指定子目录
allowother: "true"
debug: "true"
sync: "false"
url: xxx.chdfs.ap-guangzhou.myqcloud.com
volumeHandle: csi-chdfs-pv-1
```

0 comments on commit 7153ebc

Please sign in to comment.