I've installed Jenkins on GKE using Bitnami Chart and it is online.
When I want to adjust it using helm upgrade
, Kubernetes brings up a new instance while leaving the other running (as expected), but the new instance fails to come up with
Warning FailedAttachVolume 18m attachdetach-controller Multi-Attach error for volume "pvc-b3d609b3-ec10-4966-8713-595702220c40" 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
This error makes sense - two instances can't share storage.
If I take down the first instance, then it comes right back. If I helm uninstall
, both instances are deleted including the storage.
What is the proper process to upgrade versions/update chart settings?