我需要使用Istio + Prometheus来收集k8s应用程序度量。我的普罗米修斯运行在一个虚拟机上。我不想把普罗米修斯当作库伯内特斯的集装箱。
有人能帮我弄到正确的文件吗?或者建议我如何做到这一点,而不运行普罗米修斯作为一个荚在k8s?
发布于 2020-05-11 04:25:17
您可以在配置映射中更新掌舵,istio适配器将负责其他工作。
您可以在此github问题上找到更多详细信息。
看看这个示例。
你可以带你自己的普罗米修斯到伊斯蒂奥,用三个快速步骤。
发布于 2021-10-10 17:14:13
如果你:
您可以使用Istio发行版的\samples\addons\extras\prometheus-operator.yaml将退出的Prometheus安装与istio连接起来。
kubectl apply -n istio-system -f prometheus-operator.yaml
并检查https://prometheus.example.com/service-discovery
podMonitor/istio-system/envoy-stats-monitor/0 (8 / 115 active targets)
serviceMonitor/istio-system/istio-component-monitor/0 (1 / 98 active targets)
https://stackoverflow.com/questions/61714473
复制相似问题