<p>I added KUBECONFIG</p>
<pre><code>echo $KUBECONFIG
/home/miki/.kube/config:
</code></pre>
<p>When I try</p>
<pre><code>kubectx
</code></pre>
<p>I got</p>
<pre><code>error: kubeconfig error: failed to load: cannot determine kubeconfig path: multiple files in KUBECONFIG are currently not supported
</code></pre>
<p>In my config file I have both k3s and aws clusters.</p>
<pre><code>   server: https://127.0.0.1:6443
  name: default
 server: https://3ECADDEA56D1B423B5D649212BDC10A1.yl4.us-east-1.eks.amazonaws.com
  name: arn:aws:eks:us-east-1:57711112222:cluster/pizd-cluster
</code></pre>
<p>How to use kubectx to avoid error?</p>

Richard Rublev
<p>i've configured this using a individual file for each individual cluster, so i set the KUBECONFIG var with all files separated by two points &quot;:&quot;</p>
<pre><code>&gt; echo $KUBECONFIG 
'/home/user/cluster1.config:/home/user/cluster2.config:/home/user/cluster3.config'
</code></pre>
<p>each file with your own configuration, its works finelly to me.</p>
