Istio: is it possible to use istio and traefik at the same time?

Created on 12 Dec 2019  路  3Comments  路  Source: istio/istio

is it possible to use istio and traefik at the same time?

All 3 comments

Sure, you can use traefik just like any other applications. You can replace ingressgateway if you want

I have try myself to get traefik together,it work fine,but here is a problem
traefik connect to the pod directly via pod ip,and that seems escape the server mesh and caused tracing graph lost a piece of data of traefik to pod on kiali. I can only see a PassthroughCluster here.
Connection directly to pod ip seems not handle by istio.The the down side is if you use traefik it
seems traffic is outside of the server mesh until first service, and virtual service might won't work,I still trying to find a way if traefik can connect to service instead of pod ip. I deploy traefik in a istio autoinject namespace.

image

I see, I didn't realize traefik would use pod IP without host header? This is tracked in https://github.com/istio/istio/issues/23494 which has some conversation around this. To simplify things, lets consolidate there. Thanks!

Was this page helpful?
0 / 5 - 0 ratings