kubernetes - 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
解决方案
推荐阅读
- php - 在轮播引导程序中禁用图片
- c - 通过 c 中的指针算术获取和设置 char 数组的值
- node.js - Hazelcast Jet 和 Node.JS 客户端序列化问题
- cmake - unset() 不会取消设置 CMake 变量
- javascript - 如何查找对象的元素以从同一对象返回不同的元素
- ag-grid - Ag-Grid:编译错误 [ts] 属性 'rowsToDisplay' 在类型 'IRowModel' 上不存在
- installation - 打开 VS community 2017 的 Visual Studio 安装程序时出现错误消息
- php - php构建异步文件上传api服务
- php - CakePHP 3.x 从 URL 访问图像
- javascript - 如何从 React Native 中的字符串运行 javascript 逻辑?