<p>I am trying to deploy an application vis Google Cloud with K8. I ran <code>kubectl create -f app.yaml</code> and everything seemed to work fine. I can go to my Project profile and view the &quot;app&quot; cluster in the &quot;Kubernetes clusters&quot;  page. However, when I try to view my pods and their info via the terminal I run into this strange situation:</p>
<pre><code>% kubectl get pods -n app
No resources found in app namespace.

% kubectl create -f app.yaml 
Error from server (AlreadyExists): error when creating &quot;app.yaml&quot;: services &quot;app&quot; already exists

% kubectl -n app rollout restart deployment project
Error from server (NotFound): namespaces &quot;app&quot; not found
</code></pre>
<p>kubectl cannot find the name &quot;app&quot; but I cannot recreate &quot;app&quot; because the name already exists!</p>
<p>My end goal is to view the pods info and get the External IP value.</p>

<p>My end goal is to view the pods info and get the External IP value:</p>
<ul>
<li><p>To get info about pods, try <code>kubectl get pods --all-namespaces -o wide</code><br>
Right now there are just no pods in namespace app according to this error &quot;No resources found in app namespace.&quot;<br>
Running the above will give you more info.</p>
</li>
<li><p><code>kubectl get svc -o wide</code>
should provide you with the external IP you are looking for.</p>
</li>
</ul>
