Istio Service Entry: Improved observability about HTTPS requests to external services

Introduction During developing services, there are some cases we need to send HTTPS requests to external services. When using Istio, requests based on the hosts that are not registered in Service registry are essentially recognized as a Cluster named Passthrough, which just operates solely as a TCP proxy. That is, Envoy simply forwards those TCP packets without performing any additional functionality on them. In this case, for requests based on HTTPS which operates at the L7 layer, Istio is only able to record TCP-level metrics, resulting in limited information available for TCP metrics. ...

July 8, 2023 · 11 min

When your istio proxy containers terminate before your application containers gracefully shutdown, try configuring EXIT_ON_ZERO_ACTIVE_CONNECTIONS

Introduction Connections can be reset abnormarly with terminating pods when you manage istio as a service mesh solution on kubernetes. There are a number of cases terminating pods: manually executing kubectl delete commands, rolling updates and scaling in them. So, why are connections reset? There can be many other reasons but I think it is the most probable terminating of istio-proxy sidecars earlier than terminating of application containers. Prior to istio v1.12, some people used to add a preStop configuration in order to clarify for istio-proxy containers to terminates after all the active connections completes well. ...

February 4, 2023 · 6 min