How to leave a kubectl cluster from cli?

Viewed 905

How can I disconnect from a kubernetes cluster from gitbash, I connected once and I can't "disconnect" or make the cluster name go away.

enter image description here

1 Answers

Thanks a lot. really what I needed was to run the command:

kubectl config unset current-context
Related