kubernetes-gluster 中的 Gluster Arbiter-3 StorageClass 卷类型?
Gluster Arbiter-3 StorageClass volumetype in kubernetes-gluster?
我会在 kubernetes-gluster StorageClass
中为 arbiter-3 卷使用什么 volumetype
?
如果您想手动配置 Gluster 卷,Kubernetes 挂载的内容没有区别 - 常规 GlusterFS 卷或 GlusterFS Arbiter-3 卷。因此,卷类型应为 glusterfs
,您只需提供卷名称。这是示例,更多信息是 here:
"volumes": [
{
"name": "glusterfsvol",
"glusterfs": {
"endpoints": "glusterfs-cluster",
"path": "kube_vol",
"readOnly": true
}
}
]
如果您希望 Kubernetes 自动配置 Gluster 卷,您需要深入挖掘。使用 GitHub.
中的 these instructions
在 StorageClass 的 parameters
部分,您可以
volumeoptions: user.heketi.arbiter true
通过该 StorageClass 提供的任何 PVC 都将有一个仲裁器和两个数据块。
我会在 kubernetes-gluster StorageClass
中为 arbiter-3 卷使用什么 volumetype
?
如果您想手动配置 Gluster 卷,Kubernetes 挂载的内容没有区别 - 常规 GlusterFS 卷或 GlusterFS Arbiter-3 卷。因此,卷类型应为 glusterfs
,您只需提供卷名称。这是示例,更多信息是 here:
"volumes": [
{
"name": "glusterfsvol",
"glusterfs": {
"endpoints": "glusterfs-cluster",
"path": "kube_vol",
"readOnly": true
}
}
]
如果您希望 Kubernetes 自动配置 Gluster 卷,您需要深入挖掘。使用 GitHub.
中的 these instructions在 StorageClass 的 parameters
部分,您可以
volumeoptions: user.heketi.arbiter true
通过该 StorageClass 提供的任何 PVC 都将有一个仲裁器和两个数据块。