How to link custom prometheus in kiali

165 views
Skip to first unread message

hari.y...@gmail.com

unread,
Aug 21, 2020, 3:37:53 AM8/21/20
to kiali-dev
Hi All

I have enabled  kiali and prometheus  like below

install-istio:
istioctl manifest apply \
--set values.global.hub=istio \
--set values.global.tag=1.6.5-distroless \
--set values.global.jwtPolicy=first-party-jwt \
--set values.global.proxy.resources.requests.cpu=100m \
--set values.global.proxy.resources.requests.memory=128Mi \
--set values.global.proxy.resources.limits.cpu=200m \
--set values.global.proxy.resources.limits.memory=256Mi \
--set values.prometheus.enabled=false \
--set values.kiali.enabled=true \
--set values.tracing.enabled=true \
--set values.gateways.istio-ingressgateway.sds.enabled=true

Kiali ui is not working if prometheus is disabled.

I have a situation where prometheus is installed separately with thanos sidecars, Is it possible to point the kiali ui to my custom prometheus?



Thanks,
Hari Yada

Lucas Ponce

unread,
Aug 21, 2020, 3:46:32 AM8/21/20
to hari.y...@gmail.com, kiali-dev
On Fri, Aug 21, 2020 at 9:38 AM hari.y...@gmail.com <hari.y...@gmail.com> wrote:
Hi All

I have enabled  kiali and prometheus  like below

install-istio:
istioctl manifest apply \
--set values.global.hub=istio \
--set values.global.tag=1.6.5-distroless \
--set values.global.jwtPolicy=first-party-jwt \
--set values.global.proxy.resources.requests.cpu=100m \
--set values.global.proxy.resources.requests.memory=128Mi \
--set values.global.proxy.resources.limits.cpu=200m \
--set values.global.proxy.resources.limits.memory=256Mi \
--set values.prometheus.enabled=false \
--set values.kiali.enabled=true \
--set values.tracing.enabled=true \
--set values.gateways.istio-ingressgateway.sds.enabled=true

Kiali ui is not working if prometheus is disabled.

Correct, Kiali reads Istio telemetry stored in Prometheus.
 

I have a situation where prometheus is installed separately with thanos sidecars, Is it possible to point the kiali ui to my custom prometheus?

In theory yes.

Depending how you installed Kiali (directly using helm charts or via operator) you may need to tweak the default config and tell where is your prometheus instance:

This is Kiali config if you installed via operator, if not, you should modify it directly on the ConfigMap used


Another topic is how to configure Istio to use your own prometheus, which is something that you need to check that is collecting telemetry correctly.

 



Thanks,
Hari Yada

--
You received this message because you are subscribed to the Google Groups "kiali-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kiali-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kiali-dev/8775823c-721b-4003-b8be-e14e63954661n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages