I’m using istio 1.2.0(but I had the same problem on 1.1.7) and when my pod have istio-proxy sidecar container, “waiting for headers” step during ‘apt update’ takes 20-30 seconds. This problem doesn’t occur when pod doesn’t have istio-proxy sidecar.
Maybe someone saw this behavior before? I’ll be very grateful for any help.
I still cannot resolve this problem. I’ve gathered some further important informations:
i’ve simplified my enviroment as much as i could. I’m deploying single master cluster(without any worker nodes on ubuntu 18.04 with kubeadm. There are all commands used to deploy k8s+istio: https://pastebin.com/raw/pYvxCiAQ)
problem occurs on both tested kubernetes versions: 1.14.3 and 1.15.0
problem occurs on flannel and calico CNIs
it seems that istio dropping TCP connections not only on apt update, I’ve similar problem when trying to download big file via http.
I just wanted to add to the discussion: i’m seeing similar issues. I’ve spent quite some time trying to debug it. My context: EKS with Kubernetes version 1.13, Istio 1.2.2. I’m attaching what i consider to be an interesting Wireshark PCAP file — the apt UI hangs for exactly 30s (this is Ubuntu — on Debian it is 120 seconds) at timestamp 2019-07-09 10:31:37, but the PCAP seems to suggest that the package repository server replied with HTTP 200 very promptly. At about 10:32:06 the UI happily continues. Is the istio-proxy sidecar perhaps holding on to the response for unduly long? Any suggestions on how to debug?