Change defauit volume size for elastic

Elasticsearch comes with a 1GB storage by default

> NAME                                            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
> elasticsearch-data-elasticsearch-es-default-0   Bound    pvc-4d565cd7-3894-11ea-a77b-12b06dd324bb   1Gi        RWO            gp2            12

Is there a way to change the size without configuring my own pvc, volume and volume mount?


You can use a volume claim template:

You also have an example here:

Note that the name must be elasticsearch-data

Perfect! Thanks for the help