<p>I am trying to run a process in only ONE docker pod (and not the other n pods),</p>

<p>can I know (from inside a pod/instance) </p>

<ul>
<li>am I the first pod?</li>
<li>how many pods are running?</li>
</ul>

<p>thanks.</p>

BarganBanananas 
<p>Don't do this. Put that thing in its own deployment (or statefulset more likely) that is unrelated to the others.</p>
