<p>In my kubernetes cluster I have several kind of pods. Some pods have to wait for other pods to start. To create a cluster I have to Run all the pods in a particular serial. This requires me to continuously check for states of previous pods. I want to reduce the time taken for creating cluster.</p>

<p>I want to explore 2 different solutions here:</p>

<ol>
<li><p>Is there a way I can add conditions like create pod 'a' if pod 'b' is in 'running' state?</p></li>
<li><p>Is there a way I can pull all the images when creating pod and run them later in order. Since most of the time taken to create the pod is for pulling the image.</p></li>
</ol>

<p>Pet Sets might help you with this.</p>

<p><a href="http://kubernetes.io/docs/user-guide/petset/" rel="nofollow">http://kubernetes.io/docs/user-guide/petset/</a></p>
