<p>I've installed Jenkins on GKE using <a href="https://artifacthub.io/packages/helm/bitnami/jenkins" rel="nofollow noreferrer">Bitnami Chart</a> and it is online.</p>
<p>When I want to adjust it using <code>helm upgrade</code>, Kubernetes brings up a new instance while leaving the other running (as expected), but the new instance fails to come up with</p>
<pre><code>   Warning  FailedAttachVolume  18m                attachdetach-controller  Multi-Attach error for volume &quot;pvc-b3d609b3-ec10-4966-8713-595702220c40&quot; Volume is already used by pod(s) jenkins-9ddcc795c-vflvm                                                         
   Warning  FailedMount         11m                kubelet                  Unable to attach or mount volumes: unmounted volumes=[jenkins-data[], unattached volumes=[default-token-2qsvk jenkins-data]: timed out waiting for the condition 
</code></pre>
<p>This error makes sense - two instances can't share storage.</p>
<p>If I take down the first instance, then it comes right back. If I <code>helm uninstall</code>, both instances are deleted including the storage.</p>
<p>What is the proper process to upgrade versions/update chart settings?</p>

<p>You can delete the <strong>deployment</strong> of <strong>Jenkin</strong> first if you will delete the deployment other components will be there along with the storage disk which can reattached to the new deployment</p>
<pre><code>kubectl delete deployments.apps jenkins
</code></pre>
<p><a href="https://artifacthub.io/packages/helm/bitnami/jenkins#upgrading" rel="nofollow noreferrer">https://artifacthub.io/packages/helm/bitnami/jenkins#upgrading</a></p>
<p>and run command to upgrade the helm chart by updating the <strong>value</strong> file and using <strong>--set</strong>.</p>
<pre><code>helm upgrade jenkins bitnami/jenkins --set jenkinsPassword=$JENKINS_PASSWORD --set jenkinsHome=/bitnami/jenkins/jenkins_home
</code></pre>
