首页 > 解决方案 > Prometheus 和 nfs 存储

问题描述

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

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

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

有谁知道 NetApp/Trident for prometheus 的 nfs 替代方案是什么?

标签: kubernetesprometheustridentnetapp

解决方案


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


推荐阅读