<p>I followed this Google cloud Kubernetes <a href="https://cloud.google.com/kubernetes-engine/docs/quickstarts/deploying-a-language-specific-app#python" rel="nofollow noreferrer">tutorial</a> for python. I basically changed what's in their hello world function to plot with matplotlib (with some other functions beforehand to get data to plot). It all worked (with some changes to the dockerfile, to pip install modules, and use just python 3.7 instead of the slim version) until where it says to view a deployed app. I copy the external IP and try it in the browser, but it just loads. I'm not sure what to check to see why it won't finish loading.</p>
<p>So I'm wondering how I check where the problem is. The python code works fine elsewhere, outputting a plot with flask on a local computer</p>

<p>You can try <a href="https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/" rel="nofollow noreferrer">proxying from your localhost directly to the pod</a> to see if there's a problem with the load balancer.</p>
<pre class="lang-sh prettyprint-override"><code>kubectl port-forward your-pod-xxxxxxxxxx-xxxxx &lt;local-port&gt;:&lt;pod-port&gt;
</code></pre>
<p>Then you can just hit <code>http://172.0.0.1:&lt;local-port&gt;</code> on your browser.</p>
<p>You can also take a look at the pod logs:</p>
<pre class="lang-sh prettyprint-override"><code>kubectl logs your-pod-xxxxxxxxxx-xxxxx 
</code></pre>
