Prometheus 和 nfs 存储

swe*_*d90 4 netapp trident kubernetes prometheus

根据 prometheus storage.md ,建议不要使用 nfs 存储作为 prometheus 的持久卷。

但像 prometheus Operator 和 openshift 这样的解决方案展示了使用 nfs 作为 prometheus 持久卷的示例。

那么我在这里缺少什么?如果不推荐使用 nfs,那么为什么这些工具会分享使用 nfs 作为 prometheus 存储选项的示例?

有谁知道 Prometheus 的 NetApp/Trident 的 nfs 替代品是什么?

cod*_*ger 6

prom-operator 文档中的示例只是一个假设,用于展示如何手动控制存储配置。在所有情况下,NFS 通常是最后的选择:) 请查看https://kubernetes.io/docs/concepts/storage/persistent-volumes/以获取有关如何使用各个 PV 插件的更多一般信息(或者如果这些都不起作用,请查找 CSI 内容),但对于 NetApp,您可能会使用 iSCSI 接口。