Greetings, https://kubernetes.io/blog/2018/08/02/dynamically-expand-volume-with-csi-and-kubernetes/
Does K8s allow dynamic PV auto resize based on some rules i.e. If the persistent volume space is 90% used, auto resize the volume upto a configured max limit. In the docs dynamic resize is possible but I dont see a way to define the rule (e.g. 90% usage) or set the max limit (e.g. dont resize if you reach 300GB). It looks like the resize command needs to be manually executed. Is my understanding correct ? Any roadmap for K8S to implement this. This is very similar to auto scaling the containers based on load rules we define. They just need to extend this concept to volumes. I am sure we could kind of implement this by monitoring PVC volume metrics `kubelet_volume_* ` , and if our configured threshold exceeded, the alert event could call the resize API. But would be really cool if K8S supported this out of the box via some rules. Cheers, Sandeep -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.