<p>Updated</p>
<p>I have some script that initializes our service.<br />
The script fails when it runs in the container because of <em><strong>connection refused</strong></em> error in the first outbound request (to external service) in the script.<br />
We tried to add a loop that makes curl and if it fails, re-try, if not - continuous the script.<br />
Sometimes it succeeds for the first time, sometimes it fails 10-15 times in a row.<br />
We recently started using istio<br />
What may be a reason??</p>

Tantre
<p>With istio 1.7 comes a new feature that configures the pod to start the sidecar first and hold every other container untill the sidecar is started.</p>
<p>Just set <code>values.proxy.holdApplicationUntilProxyStarts</code> to true.</p>
<p>Please note that the feature is still experimental.</p>
