concourse-chart icon indicating copy to clipboard operation
concourse-chart copied to clipboard

Cannot change worker persistence disk size

Open bengro opened this issue 4 years ago • 3 comments

I've deployed the chart with default configuration which sets the workers disk size to 20Gi.

The disks filled up and I wanted to increase disk size by setting persistence.worker.size. When I do this, I'm getting:

Error: UPGRADE FAILED: cannot patch "concourse-worker" with kind StatefulSet: StatefulSet.apps "concourse-worker" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden

bengro avatar Jul 30 '20 15:07 bengro

@bengro I'm not sure if this is a good way to do it or not, but you can try adding --force to your helm command and it will work.

skreddy6673 avatar Sep 14 '20 12:09 skreddy6673

I'm running into the same issue but running helm through terraform so I can't use --force here. Any clue on how to solve that?

thekyz avatar Jul 30 '21 13:07 thekyz

ok you can actually do that by disabling workers in values.yml then re-enable them with the new value

thekyz avatar Jul 30 '21 13:07 thekyz