<h1>My question is 'probably' specific to Azure.</h1>

<blockquote>
  <p>How can I review the Kube-Proxy logs?</p>
</blockquote>

<p>After SSH'ing into an Azure AKS Node (done) I can use the following to view the Kubelet logs:</p>

<pre><code>journalctl -u kubelet -o cat
</code></pre>

<p>Azure docs on the Azure Kubelet logs can be found here: 
<a href="https://learn.microsoft.com/en-us/azure/aks/kubelet-logs" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/aks/kubelet-logs</a></p>

<p>I have reviewed the following Kubernetes resource regarding logs but Kube-Proxy logs on Azure do not appear in any of the suggested locations on the AKS node:
<a href="https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/#looking-at-logs" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/#looking-at-logs</a></p>

<p>This is part of a trouble shooting effort related to a Kubernetes nGinx Ingress temporarily returning a '504 Gateway Time-out' when a service has not been accessed / going idle for some period of time (perhaps 5 to 10 minutes) but then becoming accessible on the next attempt(s).</p>

Necevil
<p>On AKS, kube-proxy runs as a DaemonSet in the kube-system namespace</p>

<p>You can list the kube-proxy pods + node information with:</p>

<pre><code>kubectl get pods -l component=kube-proxy -n kube-system -o wide
</code></pre>

<p>And then you can review the logs by running:</p>

<pre><code>kubectl logs kube-proxy-&lt;suffix&gt; -n kube-system
</code></pre>
