-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pathPattern not active #912
Comments
How did you deploy csi driver? |
我没注意到新版本的这个变化,已经把csi-provisioner,csi-resizer 这两个容器删了,现在juicefs-csi-controller配置如下,juicefs挂载的目录下还是pvc-234bb954-dfa3-4251-9ebe-8727fb3ad6fd
我曾在kubernetes1.20版本部署juicefs-csi-driver v0.19版本,设置pathPattern 是正常的,今天我在现在这个集群测试juicefs-csi-driver v0.19也不生效... |
ok. i will try to reproduce the problem with your version later k8s v1.26.10 and csi driver 0.23.5 |
@zhj-hx hi, i tested your setup in my env. pathPattern works. I recommand you to do a totally cleanup and install csi drive using helm with default values, recreate your sc and pvc. Also try to adjust the loglevel of controller to 6, |
@h0hmj conroller日志是这样的 |
这个改了 需要重建 pv 才能生效 有改过吗 |
就是重建了之后的日志 |
我的意思是需要删掉旧的 pv,创建新的pv pathPattern 才会生效。 如果你就是这么做的,可以贴一下 pv 的yaml 和 csi-node 的完整日志。 |
是的,我将整个storageclass及juicefs-csi-driver都重建了
pvc配置
csi-node日志
|
关键是 pv和 pvc 要删了重建才能生效.... |
@zxh326 上面的日志是我新建的pvc的信息,你是说删除是指所有的pv及pvc? 我之前也是全部都删了重建的,并没有生效 |
在storageclass配置了pathPattern后,CSI 驱动在 JuiceFS 创建的子目录名称还是 pvc-234bb954-dfa3-4251-9ebe-8727fb3ad6fd
Environment:
kubectl version
): v1.26.10-vke.12The text was updated successfully, but these errors were encountered: