<p>Can I set the default namespace? That is:</p>

<pre><code>$ kubectl get pods -n NAMESPACE
</code></pre>

<p>It saves me having to type it in each time especially when I'm on the one namespace for most of the day.</p>

<p>Yes, you can set the namespace <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#setting-the-namespace-preference" rel="noreferrer">as per the docs</a> like so:</p>

<pre><code>$ kubectl config set-context --current --namespace=NAMESPACE
</code></pre>

<p>Alternatively, you can use <a href="https://github.com/ahmetb/kubectx" rel="noreferrer">kubectx</a> for this.</p>
