<p>I am using Deployment kind to define a pod.
Pod definition contains two containers and 1 sidecar.</p>
<p>In kubernetes events, Execution of container start is in sequential way.
How we can start both containers parallely.</p>
<p>Container 1 (6s) + Container (5s) + NEG ready(2s) = 13s</p>
<p>If we start container in parallel we can minimize the pod spinning total time.</p>

<p><code>In kubernetes events, Execution of container start is in sequential way. How we can start both containers parallely.</code></p>
<p>Although container is started in <a href="https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kuberuntime/kuberuntime_manager.go#L935" rel="nofollow noreferrer">sequence</a>, kubelet does <strong>not</strong> wait for the container to enter running state to start the next container. The time gap for kubelet to loop thru is only fraction of second. It is the startup and readiness time that your containers needed that define how fast it can start receiving requests.</p>
