<p>I am trying to edit configmap in kubernetes but I am getting for below error.</p>

<p>$kubectl edit configmap </p>

<p>error: unable to launch the editor "jed"</p>

<p>can anyone know how to resolve this or any other method to edit configmap.</p>

user5475799
<p>kubectl edit will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to ‘vi’ for Linux or ‘notepad’ for Windows. So you can set a different editor in KUBE_EDITOR or EDITOR and see if that works.</p>
