返回顶部

K8s创建nfs存储卷报错“ bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.”

K8s创建nfs存储卷报错“ bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.”

K8s报错“

mount: /var/lib/kubelet/pods/8aeb8a27-48a4-43b1-bd4c-2d9f081e6575/volumes/kubernetes.io~nfs/my-nfs-volume: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

 

 

经排查原因是从节点没有安装nfs,

解决方法:

在每个节点上都安装nfs-utils

 

posted @ 2020-12-08 22:10  九尾cat  阅读(8292)  评论(0编辑  收藏  举报