Kubectl Use-context ((hot)) -
kubectl config rename-context old-name new-name
It lets you instantly switch between clusters, namespaces, or users without editing config files.
Set an alias for even faster switching:
# Switch to dev environment kubectl config use-context dev-cluster kubectl get pods Switch back to prod kubectl config use-context prod-cluster