kubectl config get-contexts
kubectl config use-context docker-desktop
kubectl config current-context
[Optional] Unset the KUBECONFIG
variable if needed:
If you've set the KUBECONFIG
environment variable manually (e.g., pointing to a specific file), you can unset it to revert to the default kubeconfig: