kube-thanos icon indicating copy to clipboard operation
kube-thanos copied to clipboard

Breaking update to store shard statefulsets

Open craigfurman opened this issue 3 years ago • 1 comments

Store shards deployed before https://github.com/thanos-io/kube-thanos/pull/199 was merged cannot easily be updated with the latest revision of kube-thanos, because of 2 changes made to StatefulSet.spec: volumeClaimTemplates, and selector. The error I'm seeing from Kubernetes is updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden.

This isn't a huge problem because of being able to jsonnet-patch around this, but was still a little time consuming to diagnose and fix, and I wonder if there's a reasonable place to document this to save future users the time.

craigfurman avatar Mar 22 '21 15:03 craigfurman

This is probably best to be put in the CHANGELOG.md and then to be announced by the time we publish a new release.

metalmatze avatar Mar 25 '21 17:03 metalmatze