美文网首页
nfs-client unexpected error gett

nfs-client unexpected error gett

作者: 邵红晓 | 来源:发表于2023-06-26 10:56 被阅读0次

背景

k8s安装nfs-client
k8s version:v1.20.6
发现,pvc全部挂起,pv无法分配,nfs-client-provisioner 报错

E0627 02:22:33.945137       1 controller.go:1004] provision "ds/dolphinscheduler-master-dolphinscheduler-master-0" class "nfs-storage": unexpected error getting claim reference: selfLink was empty, can't make reference

解决

https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/issues/25

替换方案
https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner

helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/
helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner --set nfs.server=10.20.76.70  --set nfs.path=/export/nfs_dir -n kube-system

相关文章

网友评论

      本文标题:nfs-client unexpected error gett

      本文链接:https://www.haomeiwen.com/subject/lwwwydtx.html