<p>I don't know how I can remove the loaded Kubernetes cluster settings from lens:
<a href="https://k8slens.dev/" rel="nofollow noreferrer">https://k8slens.dev/</a></p>

<p>Do someone know from what config file/cache it is working from, where it stores its cluster settings?</p>

<p>Thanks in advance!</p>

dstanco
<p>I guess it depends on how have you installed it. I did with snap.</p>

<pre><code>$ ps xaf | grep lens
19987 tty2     Sl+    0:43              |   \_ /snap/kontena-lens/102/kontena-lens --no-sandbox
20143 tty2     S+     0:00              |       \_ /snap/kontena-lens/102/kontena-lens --type=zygote --no-sandbox
20173 tty2     Sl+    0:14              |       \_ /snap/kontena-lens/102/kontena-lens --type=gpu-process --field-trial-handle=9357832544711732318,17456889164076765037,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --no-sandbox --gpu-pre AAgAAAAAAAAYAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --service-request-channel-token=9511588528482886515
20200 tty2     Sl+    0:20              |       \_ /snap/kontena-lens/102/kontena-lens --type=renderer --no-sandbox --field-trial-handle=9357832544711732318,17456889164076765037,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --lang=en-US --app-path=/snap/kontena-lens/102/resources/app.asar --node-integration --webview-tag --no-sandbox --no-zygote --background-color=#1e2124 --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=2649628508984870433 --renderer-client-id=6 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_dat 101
20561 tty2     Sl+    0:00              |       \_ /home/suren/snap/kontena-lens/102/.config/Lens/binaries/kubectl/1.17.4/kubectl proxy -p 46571 --kubeconfig /tmp/4pqp6k4zamb-8bk89ka3wf5-kubeconfig --accept-hosts xx.xx.xx.xx
20573 tty2     Sl+    0:12              |       \_ /snap/kontena-lens/102/kontena-lens --type=renderer --no-sandbox --field-trial-handle=9357832544711732318,17456889164076765037,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --lang=en-US --app-path=/snap/kontena-lens/102/resources/app.asar --no-sandbox --no-zygote --background-color=#fff --guest-instance-id=4 --enable-blink-features --disable-blink-features --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=15119202706114490733 --renderer-client-id=11 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_dat 101
20629 pts/0    Ss+    0:00              |       \_ /bin/bash --init-file /home/suren/snap/kontena-lens/102/.config/Lens/binaries/kubectl/1.15.11/.bash_set_path
</code></pre>

<p>So, in my case the config file is stored under <code>/home/suren/snap/kontena-lens</code>. Under <code>/home/suren/snap/kontena-lens/WHATEVER/</code>, there is a <code>.config</code> directory. I guess you will find what you need there. </p>
