In the world of Kubernetes, where everything evolves quickly. Automated storage scaling stands out as a critical challenge. Members of the Data on Kubernetes Community have proposed a solution to address this issue for Kubernetes operators.
Data on Kubernetes Community initiatives: Automated storage scaling appeared first on MariaDB.org
In the world of Kubernetes, where everything evolves quickly. Automated storage scaling stands out as a critical challenge. Members of the Data on Kubernetes Community have proposed a solution to address this issue for Kubernetes operators.
If, like me, this is your first time hearing about Automated storage scaling, this will help you understand it better:
Storage scaling in Kubernetes Operators refers to the ability of an application running on Kubernetes to adjust its storage capacity automatically based on demand. In other words, it is about ensuring that an application has the right amount of storage available at any given time, optimizing for performance, cost, and operational efficiency, and doing this as automatically as possible.

As databases grow increasingly integral, the absence of unified solutions for storage scaling is becoming more evident. Let’s explore some existing solutions and their limitations:
pvc-autoresizerThis project detects and scales PersistentVolumeClaims (PVCs) when the free amount of storage is below the threshold. pvc-autoresizer It is and active open source project on GitHub.
There are certain downsides:
Percona wrote a blog post about pvc-autoresizer to automate storage scaling for MongoDB clusters on Kubernetes.
EBS params controllerThis controller provides a way to control IOPS and throughput parameters for EBS volumes provisioned by EBS CSI Driver with annotations on corresponding PersistentVolumeClaim objects in Kubernetes. It also sets some annotations on PVCs backed by EBS CSI Driver representing current parameters and last modification status and timestamps.
Find more about EBS params controller on GitHub.
Kubernetes Volume AutoscalerThis automatically increases the size of a Persistent Volume Claim (PVC) in Kubernetes when it is nearing full (either on space OR inode usage). It is a similar solution to pvc-autoresizer. Check out more about Kubernetes Volume Autoscaler
Kubernetes Event-driven Autoscaling(KEDA)KEDA performs horizontal scaling for various resources in k8s, including custom resources. The metric tracking component is already figured out, but unfortunately, it does not work with vertical scaling or storage scaling yet. We opened an issue in GitHub to start the discussion.
As you can see, there are some limitations to performing Automated storage scaling, and to address this gap, the Data on Kubernetes community wants to develop a solution that solves practical problems and contributes to the open source community.
We’re tackling the significant challenge of unexpected disk usage alerts and potential system shutdowns due to insufficient volume space, a common issue in Kubernetes-based databases.
Possible SolutionsThe following possible solutions were proposed:
Our goal as a community is to develop a fully automated solution to prevent these inconveniences and failures.
Final ThoughtsOnce a new solution is validated and proven functional, it will benefit many communities, enabling them to integrate it with their operators. Additionally, it will present an excellent opportunity for Percona to incorporate it into our Operators, enhancing efficiency and facilitating automated storage scaling.
We invite those interested, especially in this particular project, to join us. This is an opportunity to be at the forefront of shaping the automated scaling solutions in Kubernetes. You can join the Data on Kubernetes community on Slack, specifically on the #SIG-Operator.
Are you interested in understanding Storage Autoscaling in databases? Explore our detailed example of Storage Autoscaling using the Percona Operator for MongoDB. For questions or discussions, feel free to join our experts on the Percona Community Forum ∎
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Data On Kubernetes | 0 | 6.33 | 10-11-2023 |
| 2 | Volunteering as a Program Committee Member for Data on Kubernetes Day Europe 2024 | 0 | 6.89 | 10-01-2024 |
| 3 | Why I haven’t run my databases on Kubernetes | 0 | 3.68 | 30-06-2026 |
| 4 | Timeline for Database on Kubernetes | 0 | 6.68 | 16-07-2024 |
| 5 | Exploring Kubernetes Operators | 0 | 8.43 | 03-11-2023 |
| 6 | Setting Up Your Environment for Kubernetes Operators Using Docker, kubectl, and k3d | 0 | 5.31 | 04-03-2024 |
| 7 | Our Top Picks from the Kubernetes 1.29 Release | 0 | 11.82 | 12-01-2024 |
| 8 | Mayastor: Lightning Fast Storage for Kubernetes | 0 | 8.12 | 23-10-2020 |
| 9 | Kubernetes, The Swiss Army Knife For Your ProxySQL Deployments – Percona Live ONLINE Talk Preview | 0 | 10.19 | 08-05-2020 |
| 10 | My Experience at Kubecon Europe in Amsterdam | 0 | 5.9 | 11-05-2023 |