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
Unrelated to question, but maybe a useful resource.
Have a look at kubectx + kubens: Power tools for kubectl.
They make it easy to switch contexts and namespace + have the option to delete
e.g.,
kubectx -d my-context