Kubernetes 什么';这两者之间的区别是什么;卷设备“;vs";“卷数”;使用k8sv1.13

Kubernetes 什么';这两者之间的区别是什么;卷设备“;vs";“卷数”;使用k8sv1.13,kubernetes,linux-device-driver,Kubernetes,Linux Device Driver,运行kubectl explain pod.spec.containers显示: volumeDevices <[]Object> volumeDevices is the list of block devices to be used by the container. This is a beta feature. volumeMounts <[]Object> Pod volumes to mount into t

运行
kubectl explain pod.spec.containers
显示:

   volumeDevices    <[]Object>
     volumeDevices is the list of block devices to be used by the container.
     This is a beta feature.

   volumeMounts <[]Object>
     Pod volumes to mount into the container's filesystem. Cannot be updated.
卷设备
volumeDevices是容器要使用的块设备的列表。
这是一个测试版功能。
体积数
要装入容器文件系统的Pod卷。无法更新。
这两个容器属性之间是否存在关系

请注意,
kubectl版本
显示:

客户端版本:Version.Info{Major:“1”,Minor:“13”, GitVersion:“v1.13.0”, GitCommit:“ddf47ac13c1a9483ea035a79cd7c10005ff21a6d”, 吉特庄园:“清洁”,建造日期:“2018-12-03T21:04:45Z”, GoVersion:“go1.11.2”,编译器:“gc”,平台:“linux/amd64”}

服务器 版本:Version.Info{Major:“1”,Minor:“13”,GitVersion:“v1.13.0”, GitCommit:“ddf47ac13c1a9483ea035a79cd7c10005ff21a6d”, 吉特庄园:“清洁”,建造日期:“2018-12-03T20:56:12Z”, GoVersion:“go1.11.2”,编译器:“gc”,平台:“linux/amd64”}


“volumeDevices”是1.13中新测试版功能的一部分,该功能允许pod访问原始块卷,而不是装载的文件系统卷。这对于某些高级应用程序非常有用,例如可能有自己的文件系统格式的数据库

您可以找到官方文档,尽管1.13版似乎还没有更新