<p>I am working on helm 2 and trying to deploy Tiller as pod. </p>

<pre><code>&gt;helm init --service-account tiller
</code></pre>

<p>But i am getting below Error:
Error: error initializing: Looks like "<a href="https://kubernetes-charts.storage.googleapis.com" rel="noreferrer">https://kubernetes-charts.storage.googleapis.com</a>" is not a valid chart repository or cannot be reached: Get <a href="https://kubernetes-charts.storage.googleapis.com/index.yaml" rel="noreferrer">https://kubernetes-charts.storage.googleapis.com/index.yaml</a>: dial tcp 172.217.2.240:443: connect: connection timed out</p>

<p>Has anyone faced this error and if yes , what is the recommended way to overcome this for helm2?</p>

Rahul Kumar
<p>Helm versions prior to <code>2.17.0</code> have the deprecated <a href="https://kubernetes-charts.storage.googleapis.com/index.yaml" rel="noreferrer">https://kubernetes-charts.storage.googleapis.com/index.yaml</a> as the default stable repository, which no longer resolves. The new repo is <a href="https://charts.helm.sh/stable" rel="noreferrer">https://charts.helm.sh/stable</a>. You can choose to:</p>
<ol>
<li><p>Use the  <code>--stable-repo-url</code> argument to specify the new repository:</p>
<pre><code>helm init --stable-repo-url https://charts.helm.sh/stable --service-account tiller
</code></pre>
</li>
<li><p>Use the  <code>--skip-refresh </code> argument and replace the stable repo:</p>
<pre><code>helm init --client-only --skip-refresh
helm repo rm stable
helm repo add stable https://charts.helm.sh/stable
</code></pre>
</li>
<li><p>Upgrade helm to <code>2.17.0</code> or later.</p>
</li>
</ol>
