aenix-io / etcd-operator

New generation community-driven etcd-operator!
https://etcd.aenix.io
Apache License 2.0
83 stars 14 forks source link

add resizing operation #231

Closed sevagol closed 1 month ago

sevagol commented 3 months ago

added a comparison of pvc size with the existing one, and deletion in case of discrepancy. Should a new statefulset be created automatically after this?

makhov commented 2 months ago

Do I understand it properly: with this PR we just update the StatefulSet without actual resizing of the PVCs?

Since the PVCs are already created they won't be changed even if the volumeClaimTemplates are changed. Here is the doc on how to resize the PVC: https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/

kvaps commented 2 months ago

Correct, the resizing of PVCs will probably implemented in separate PR

kvaps commented 1 month ago

closed if favor https://github.com/aenix-io/etcd-operator/pull/254