XiaoMi / naftis

An awesome dashboard for Istio built with love.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prometheus相关的service必须存在,否则ui的pod无法启动

JoeyX-u opened this issue · comments

Prometheus相关的service必须存在,否则ui的pod无法启动,但是环境不需要Prometheus相关的service

commented

@JoeyX-u 部署了 Istio 之后, Prometheus 的 Service 不是默认就有的么?还是说你们部署 Istio 的时候移除了 Prometheus Service。

commented

@JoeyX-u 如果没有 Prometheus Service 的话,UI Pod 中的 nginx 确实无法启动。你可以参考文档,去掉 tool/naftis.conf 中的 prometheus 的 upstream,编译一个自己的 Naftis 镜像来使用。

commented

作为环境变量,或者启动项来注入吧