<p>I am still in the initial phase of understanding k8, so please forgive if you feel this lame. But I wanted to know if there is a way to have some kind of delay or ordered the execution of the containers in 1 single pod.
Let's say we have 1 Pod A and has 2 containers. For example, a kafka container exposing port 9092 and port 8081 and another container say a Kafka connect image which hits both of these ports. I wanted to know if there is a way to execute the Kafka container first and then execute Kafka connect container so that it won't get killed. </p>

<p>1) Can we have some delay or a sleep between 2 container creation?</p>

<p>2) Can we have some kind of priority of execution of containers within pods so that we can accomplish the above-mentioned situation?</p>

<p>PS: I have considered creating 2 pods and currently working on that. But also wanted to try to do this and also learn something new at the same time.Thanks.</p>

<p>There is a Feature Request for it: <a href="https://github.com/kubernetes/kubernetes/issues/65502" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/issues/65502</a></p>
