postgres-operator
postgres-operator copied to clipboard
auto-scaling of storage
Hi There, Is it possible to extend the storage size automatically based on some criteria, like utilization?
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: pnst
spec:
(ignore)
instances:
- name: instance1
replicas: 2
dataVolumeClaimSpec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 200Gi
HI @Eric-zch
thank you for this request, I've created an item in our dev backlog for this.
Hello, @Eric-zch, the new v5.6 release now has this functionality. Please see the docs for more info.
(But I will note: this new functionality is behind a feature gate, so you'll have to turn that on to get this behavior.)
I'll leave this issue open for a few days, but I think this new behavior answers your request. If you get a chance to try it out, please let us know what you think!