how to set up Kubernetes cluster pod to pod HTTP communication using VirtualService with the retry feature and locality balancing?
If I use VirtualService through Gateway: Pod -> Kubernetes service -> Istio Gateway -> Virtual service then for some reason locality balancing feature is not working.
I must admit, this aspect is lacking in the istio documentation. It took ages for me to realise that I can actually use virtual services internally, and even then, I’ve got similar questions about how to leverage the different benefits, what it means for application development, etc etc.
Could the documentation be updated to provide more examples?
It is important to mention that when sidecars are injected Kubernetes services are no longer used and there is no use from the topologyKeys in service declaration. There always should be DestinationRule created for Istio locality start to work.
Am I right?