<p>If I look at my logs in GCP logs, I see for instance that I got a request that gave 500</p>

<pre><code>  log_message: "Method: some_cloud_goo.Endpoint failed: INTERNAL_SERVER_ERROR"   
</code></pre>

<p>I would like to quickly go to that pod and do a <code>kubectl logs</code> on it. But I did not find a way to do this.</p>

<p>I am fairly new to k8s and GKE, any way to traceback the pod that handled that request?</p>

Al Wld
<p>You could run command "kubectl get pods " on each node to check the status of all pods and could figure out accordingly by running for detail description of an error " kubectl describe pod pod-name"</p>
