vertica / vertica-kubernetes

Operator, container and Helm chart to deploy Vertica in Kubernetes
Apache License 2.0
44 stars 25 forks source link

Decouple subcluster name from its statefulset name #780

Closed spilchen closed 6 months ago

spilchen commented 6 months ago

This adds a new subcluster annotation to control the statefulset name. The new annotation is: vertica.com/statefulset-name-override. This is needed for replicated upgrade when the sandbox gets promoted to the main cluster. We will want to rename the sandbox subcluster to match the original names. However, the statefulset name always included the subcluster name. This new annotation will allow us to rename the subcluster while keeping the statefulset name constant. This ensurse we can do a rename without needing to rebuild the statefulset.