How to resize ES storage volume?
See original GitHub issueI know resizing volumes is possible, but is there a suggested method for resizing a volume for an ES cluster? Is that a feature that can be added to the chart?
Changing the volumeClaimTemplate storage size throws the error:
Error: UPGRADE FAILED: cannot patch "elasticsearch-master" with kind StatefulSet: StatefulSet.apps "elasticsearch-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
I did notice it was being discussed there, just not sure if its something that needs to be implemented in the ES helm chart. https://github.com/kubernetes/kubernetes/issues/68737
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to Resize EBS Volumes Attached to a Linux or Windows ...
First, go to your volume and choose “Modify Volume” under “Actions.” You are then given the option to change both the disk size...
Read more >CSI Volume Resizing and Elasticsearch - Pure Storage Blogs
This post focuses on how to use a new CSI feature volume resizing, which allows online expansion of storage volumes.
Read more >Resizing Persistent Volumes using Kubernetes
This feature allows users to easily resize an existing volume by editing the PersistentVolumeClaim (PVC) object. Users no longer have to ...
Read more >Troubleshoot low storage space in Amazon OpenSearch ...
Increase the size of the EBS volumes. The maximum volume size depends on the node's Amazon Elastic Compute Cloud (Amazon EC2) instance type...
Read more >Resizing a Volume - Oracle Help Center
Online Resizing of Block Volumes Using the Console · Open the navigation menu and click Storage. · In the Block Volumes list, click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You have to deploy a new node group with the size you want, drain the old nodes, and then delete them.
Hi, Indeed the recommended way is to deploy a new chart release / node group in the same cluster with the good size, drain the nodes and delete the old chart release as mentionned by @krishopper.
Resizing volumes is potentially possible with K8S for some storage class but may not be possible in the case of StatefulSets with the limitations of immutable fields.
At least it hasn’t been studied/tested internally.