<p>I have 2 pods running. They are;</p>
<ol>
<li>mail-services-pod</li>
<li>redis-pod</li>
</ol>
<p>I need to make sure that the redis server is (via redis-pod) up and running before creating the mail-services-pod as its is dependant on redis-pod.</p>
<p>I am new to kubernetes and would like to know what are the best ways to implement this check.</p>
<p>Cheers</p>

Shanka Somasiri
<blockquote>
<p>I am new to kubernetes and would like to know what are the best ways to implement this check</p>
</blockquote>
<p>Kubernetes is a distributed environment and instances will change e.g. address on deployment on new versions of your apps.</p>
<p>It is important that your app is <em>recilient</em> e.g. to network issues, and that your app properly do retry if a connection fails.</p>
<p>When recilient connections is properly handled by your app, the start order of your apps is no longer an issue.</p>
