<p>I want to manage different clusters of k8s,<br>
one called <code>production</code> for prod deployments,<br>
and another one called <code>staging</code> other deployments and configurations.</p>

<p>How can I connect <code>helm</code> to the tiller in those 2 different clusters?<br>
Assume that I already have <code>tiller</code> installed and I have a configured ci pipeline.</p>

<p>Helm will connect to the same cluster that <code>kubectl</code> is pointing to.</p>

<p>By setting multiple <code>kubectl</code> contexts and changing them with <code>kubectl config use-context [environment]</code>  you can achieve what you want.</p>

<p>Of course you will need to set appropriate HELM_ environment values in your shell for each cluster including TLS certificates if you have them enabled.</p>

<p>Also it’s worth taking steps so that you don’t accidentally deploy to the wrong cluster by mistake.</p>
