kubectl config view shows contexts and clusters corresponding to clusters that I have deleted.
kubectl config view
How can I remove those entries?
The command
For clusters and contexts you can also do
kubectl config delete-cluster my-cluster kubectl config delete-context my-cluster-context
There's nothing specific for users though, so you still have to do
kubectl config unset users.my-cluster-admin