kubernetesistioistio-gatewayistio-sidecar

Load balancing HTTP traffic with istio from non-sidecar-enabled pods to sidecar-enabled pods


My use case:

We have a kubernetes namespace-a, with 2 deployments deployment-a and deployment-b.

Pods of the deployment-a are sidecar enabled with envoy proxy. Pods of deployment-b are not.

Is there a way to configure istio so that HTTP traffic coming from deployment-b pods -> deployment-a pods is being load balanced by istio? Currently it seems, that load balancing is done by plain kubernetes service instead of istio.


Solution

  • External services can access services managed by Istio via a Gateway. They can use internal IP of ingress gateway and provide a host header for which server the request is sent to. Or add a DNS entry for ingress gateway IP.