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
Run command below to get all contexts you have:
$ kubectl config get-contexts CURRENT NAME CLUSTER AUTHINFO NAMESPACE * Cluster_Name_1 Cluster_1 clusterUser_resource-group_Cluster_1
Delete context:
$ kubectl config delete-context Cluster_Name_1