kubernetes - Prometheus 和 nfs 存储
问题描述
根据 prometheus storage.md ,建议不要将 nfs 存储用作 prometheus 的持久卷。
但是像 prometheus operator 和 openshift 这样的解决方案显示了使用 nfs 作为 prometheus 的持久卷的示例。
那么我在这里错过了什么?如果不推荐使用 nfs,那么为什么这些工具会分享使用 nfs 作为 prometheus 的存储选项的示例?
有谁知道 NetApp/Trident for prometheus 的 nfs 替代方案是什么?
解决方案
prom-operator 文档中的示例只是展示如何手动控制存储配置的假设。NFS 通常是所有情况下的最后选择 :) 查看https://kubernetes.io/docs/concepts/storage/persistent-volumes/了解有关如何使用各种 PV 插件的更多一般信息(或者如果这些都不起作用,查找 CSI 的东西),但是对于 NetApp,您可能会使用 iSCSI 接口。
推荐阅读
- php - 为什么存储:删除在 laravel 5.5 上不起作用
- python - Keras CNN 中的标签预处理
- sql - SQL HASHBYTES 函数在 CASE WHEN/IIF 中使用时返回奇怪的输出
- swift - 将 Sprite Kit 视图添加到 UIView Xcode 8.2.1
- android - Android O:Service.stopForeground 等效项
- c# - 使用具有多个属性值的 xpath 获取 xml doc 子节点
- sql - 如何在 Spark SQL 查询中定义 WINDOWING 函数以避免重复代码
- regex - 当“主题”字段为空/为空时,不调用 Gerrit 触发器事件
- swift - 如何创建一个看起来像铅笔素描在 Swift 中的视图边框?
- javascript - 如何在 rd 谷歌地图插件中包含谷歌地图 API 密钥