Error: failed to create subPath directory for volumeMount “opt-file” of container “platform-file”

释放双眼,带上耳机,听听看~!
🤖 由 ChatGPT 生成的文章摘要

Pod报错内容如下

Error: failed to create subPath directory for volumeMount "opt-file" of container "platform-file"

解决方法:

这个问题是因为PVC --> NFS权限的问题,主要问题还在NFS_SERVER。

  • 授权NFS目录权限chmod -R 777 /data && chown -R nfs用户 /data
  • 提前在NFS中创建好subPath路径
  • 删除Pod,重启

给TA打赏
共{{data.count}}人
人已打赏
报错锦集

ERROR: Failed to create CA certificate for self-signing. If the error is "unknown option -addext", update your openssl version or deploy VPA from the vpa-release-0.8 branch.

2022-9-22 19:45:19

Kubernetes报错锦集

Kubernetes命名空间Terminating状态不释放

2022-10-13 0:00:01

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索