title: Kubernetes: How do I delete clusters and contexts from kubectl config?
body: <p><code>kubectl config view</code> shows contexts and clusters corresponding to clusters that I have deleted.</p>
  
  <p>How can I remove those entries?</p>
  
  <p>The command</p>
  
  <pre><code>kubectl config unset clusters
  </code></pre>
  
  <p>appears to delete all clusters. Is there a way to selectively delete cluster entries? What about contexts?</p>