<p>Deployed elastic search Kubernetes in GKE.  With 2GB memory and 1GB persistence disk.</p>
<p>We got an error out of storage exception. After that, we have Increased to 2GB on the next day itself it reached 2GB, but we haven’t run any big queries. Then again we have increased the persistence disk size to 10 GB. After that, there is no increase in the data persistence disk storage.</p>
<p>On further analysis, we have found total Indices take 20MB of memory unable to what are the data in the disk.</p>
<p>Used elastic search <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html" rel="noreferrer">nodes stats API</a> to get the details on disk and node statistics.</p>
<p>I am unable to find the exact reason why memory exceeds and what are the data in the disk. Also, suggest ways to prevent this future.</p>
<p><a href="https://i.stack.imgur.com/k17Eq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/k17Eq.png" alt="screen shot" /></a></p>

Raj Kumar
<p>It is continuously receiving data and based on your config it creates multiple copies of indices and may create a new index daily. Check the config file.</p>
<p>if the elasticsearch cluster fails each time it creates a backup of data so you may need to delete old backups before restarting the cluster.</p>
