[cockroach operator] Setting spec.dataStore.supportsAutoResize
to true
does not enable auto resizing
#118
Labels
bug
Something isn't working
What version of operator are you using?
commit 561cf47d783c368fd8795acb82a5a39099a35984 (HEAD -> master)
What operating system and processor architecture are you using (
kubectl version
)?Ubuntu. 20.04
kubectl version
OutputWhat did you do?
We are trying to enable the auto resizing feature for the PVC so that we do not need to restart the cluster to resize the PVC.
But it seems this field
supportsAutoResize
is a no-op. We changed the PVC size from1Gi
to2Gi
, but the PVC is not automatically resized to2Gi
.Reproduce
(All files were applied using
kubectl apply -f <filename> -n cockroach-operator-system
)spec.dataStore.supportsAutoResize
totrue
, but the PVC size is not changed.What did you expect to see and what did you see instead?
We expect to see PVC resizing is automated after setting the field
spec.dataStore.supportsAutoResize
totrue
. However, the fieldspec.dataStore.supportsAutoResize
has no effect.Possible cause
We do not find any relevant functioning code in cockroach operator codebase that handles
spec.dataStore.supportsAutoResize
. The fieldsupportsAutoResize
is defined in cluster_types.go, but the only possible code handling it in resize_pvc.go is commented.The text was updated successfully, but these errors were encountered: