小编gee*_*ets的帖子

从具有不同模式的多个 pod 访问 kubernetes 存储 - 一个 pod 读写,其他 pod 只读

我有一个 pod,需要将数据持久保存到 pod 外的某个地方。我认为persistentVolume 是一个好主意。名为 writerPod 的 pod 需要对该卷进行读写访问。

多个其他 Pod(我称它们为 readingPods)需要读取 writerPod 保存的文件。

是否可以有两个都绑定相同 PersistentVolume 的persistentVolumeClaims (PVC)(仅在 accessMode ReadWriteOnce 和 ReadOnlyMany 中不同)?

google-compute-engine kubernetes persistent-volumes

5
推荐指数
1
解决办法
273
查看次数