Istio request routing implementation

Hi all,

I’m trying to figure out what is possible with Istio (and what might be possible with some modification). However, I’m not very familiar with the codebase.

I’m wondering if someone can help point me to the best entry point in the code to read about

I want to write a custom resolver, but first I want to make sure I understand what is actually going on here.

Thanks

It really depends on what you are looking to do. Istio is mostly an abstraction for Envoy, so if you are interested in the routing capabilities i suggest reading the Envoy documentation.

I’m looking specifically for the implementation of the routing rules. But I get your point, I’ll explore the envoy codebase thanks

the istio code for translation of VirtualServices to Envoy config is in this folder https://github.com/istio/istio/blob/b80ca44567de5c535dfcf7d0e128429541a86d1c/pilot/pkg/networking/core/v1alpha3/

Maybe start here - https://github.com/istio/istio/blob/b80ca44567de5c535dfcf7d0e128429541a86d1c/pilot/pkg/networking/core/v1alpha3/httproute.go#L44