<p>I have created a kubernetes service name is test-backend and set is  <code>replicas: 3</code> so It will create 3 podname such as</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>test-backend-deployment-664c7d6f7f-4tnhc    1/1       Running   0          1h
test-backend-deployment-664c7d6f7f-595dc    1/1       Running   0          1h
test-backend-deployment-664c7d6f7f-dndlt    1/1       Running   0          1h</code></pre>
</div>
</div>
</p>

<p>So how I can identify which pod is active currently ? because If I try each one like :<br>
<code>kubectl logs test-backend-deployment-664c7d6f7f-4tnhc</code>  then I can identify which is active so Question is there is another way we can identify ?</p>

Anupam Somani
<p>Unless i'm misunderstanding your question, all three pods are active. The service will round robin requests to all 3 instances (by default). </p>
