<p>I am using mac. When I try kubectl edit it opens on default vi editor but I cant save it after making any change in Vi editor. I am not new to vi editor but for kubectl edit it just doest not let me save my changes.</p>

<p>I want to configure kubectl edit to open in sublime text.
Please let me know how to make it work.</p>

Tuhin Subhra Mandal
<p>Sorry for the question. I found it. 
all i need to add KUBE_EDITOR=/usr/local/bin/sub
in my bash_profile.</p>
