<p>when I run <code>kubectl get pods</code> it shows pod existing and ready, but when run <code>kubectl port-forward</code> I get <code>pod not foud</code> error. what's going on here?</p>

<pre><code>(base):~ zwang$ k get pods -n delivery
NAME                                  READY   STATUS    RESTARTS   AGE
screenshot-history-7f76489574-wntkf   1/1     Running   86         7h18m
(base):~ zwang$ k port-forward screenshot-history-7f76489574-wntkf 8000:8000
Error from server (NotFound): pods "screenshot-history-7f76489574-wntkf" not found
</code></pre>

JamesWang
<p>You need to specify the namespace on the <code>port-forward</code> command too. <code>kubectl port-forward -n delivery screenshot-history-7f76489574-wntkf 8000:8000</code></p>
