<p>I was following a tutorial on kubernetes and it told me to run the following commands:</p>

<pre><code>kubectl config set-cluster --server=http://127.0.0.1:8080
kubectl config set-context local --cluster=local
kubectl config use-context local
</code></pre>

<p>Now when I run <code>kubectl config view</code> I see an entry for local:</p>

<pre><code>contexts:
- context:
    cluster: local
    user: ""
  name: local
</code></pre>

<p>I was kind of curious about this so I ran the following command:</p>

<pre><code>kubectl config set-context testorz --cluster=local
</code></pre>

<p>Now I see that when I run <code>kubectl config view</code></p>

<p>How do I remove my "testorz" context?</p>

<p>You can <code>kubectl config unset contexts.testorz</code> to remove that entry.</p>

<p>See <a href="http://kubernetes.io/docs/user-guide/kubectl/kubectl_config_unset/" rel="noreferrer">http://kubernetes.io/docs/user-guide/kubectl/kubectl_config_unset/</a></p>
