首页 > 解决方案 > Statefulset 无法挂载卷 - NFS 共享卷

问题描述

删除 pod 并重新应用后无法挂载 pod。该卷是 NFS 共享,并且也已安装到其他 pod。它被设置为ReadWriteMany它也应该安装到其他这个 pod。

Describe pod

Warning  FailedMount  2m4s  kubelet            Unable to attach or mount volumes: unmounted volumes=[test-nfs-share1], unattached volumes=[default-token-zkjpx test-nfs-share1]: timed out waiting for the condition

kubectl get pvc --all-namespaces

test-web-services   test-nfs-share1-pvc   Bound     test-nfs-share1                  1Gi        RWX                           25h

标签: kubernetes

解决方案


推荐阅读