我建立了一個glusterfs集羣,爲kubernetes中的莢提供卷。有沒有問題,安裝在glusterfs方式卷:如何在kubernetes集羣中使用nfs掛載glusterfs卷?
"volumes": [
{
"name": "vol1",
"glusterfs": {
"endpoints": "glusterfs-cluster",
"path": "a-gluster-vol"
}
}
]
我的問題是,我可以使用NFS方式該Gluster的音量?諸如此類
"nfs": {
"server": "someaddress",
"path": "/a-gluster-vol"
}
吊艙failedMount
50s 18s 7 {kubelet kube-node-21} Warning FailedMount MountVolume.SetUp failed for volume "kubernetes.io/nfs/818e0668-f7df-11e6-9f69-52540092af07-vol1" (spec.Name: "vol1") pod "818e0668-f7df-11e6-9f69-52540092af07" (UID: "818e0668-f7df-11e6-9f69-52540092af07") with: mount failed: exit status 32
Mounting command: mount
Mounting arguments: 192.168.16.180:/nfs /var/lib/kubelet/pods/818e0668-f7df-11e6-9f69-52540092af07/volumes/kubernetes.io~nfs/vol1 nfs []
Output: mount.nfs: requested NFS version or transport protocol is not supported
不使用不使用gluster客戶端utils的gluster位置:它將使數據不可通過gluster沒有修復操作。 –