<p>I have two pods interact with each other using grpc, how to debug grpc calls between those two pods?</p>
<p>I already try to set:</p>
<pre><code>export GRPC_TRACE=all
export GRPC_VERBOSITY=DEBUG
</code></pre>
<p>then using <code>kubectl logs &lt;pod&gt; -n namespces</code> does not show up any grpc logs, how to debug grpc between pods?</p>

ratzip
<p>It depends on what you want to debug: If you just want to know if there are communications on the Network, then you will have to add something outside of your 2 programs.</p>
<p>If you are the developer of these programs, you can add middlewares to the gRPC clients/servers to add trace (e.g, using OpenTelemetry tracing and Jaeger) to get cross-services traces (you can propagate traces IDs on the network).</p>
<p>Otherwise, without knowing what your programs are we can't help you only with environment variables.</p>
