<p>Is there a simple <code>kubectl</code> command to take a <code>kubeconfig</code> file (that contains a cluster+context+user) and merge it into the ~/.kube/config file as an additional context?</p>

Chad
<p>Do this:</p>

<pre><code>export KUBECONFIG=~/.kube/config:~/someotherconfig 
kubectl config view --flatten
</code></pre>

<p>You can then pipe that out to a new file if needed.</p>
