concourse/concourse-chart

Cannot change worker persistence disk size

bengro opened this issue · 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 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.

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?

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