weaviate: Helm upgrade failing

Upgrading from 1.16.0 to 1.19.1: UPGRADE FAILED: cannot patch "weaviate" with kind StatefulSet: StatefulSet.apps "weaviate" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

The error does not mention which statefulset field has been changed in the newest release…

(Related to #2556 )

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

@eostis I have found a bug, it was in my latest fix 😦 I will make a patch release tomorrow

@eostis in v16.x.x we have introduced new setting in Statefulset (serviceAccountName) and this change is producing this error. In this situation in order to successfully perform upgrade you need to delete Statefulset (this operation will not delete the data, only the Statefulset) and after the delete you can re-run the helm command it should be successful then.

TL;DR;

  1. remove Statefulset
kubectl -n wpsolr-prod delete statefulsets.apps weaviate
  1. re-run your deployment script