<p>I have problem with start order of istio-sidecar and main application in kubernetes.
When pod starts, main application getting error &quot;connection refused&quot; for external services. When istio-envoy proxy ready, main application starts correctly on next attempt.</p>
<p>While Istio is not ready, the main application has time to crash and restart 2-3 times</p>
<p>how do I make the main application wait for istio-sidecar to start and only then start running itself?</p>

vladimir vyatkin
<p>I believe if you set holdApplicationUntilProxyStarts to true will solve your issue.
You can get more information about it here:
<a href="https://istio.io/latest/docs/ops/common-problems/injection/" rel="nofollow noreferrer">https://istio.io/latest/docs/ops/common-problems/injection/</a>
Hope it can help you.</p>
