Setting up Elasticsearch storage
If you plan to use embedded Elasticsearch and Kibana (rather than an external Elasticsearch installation), and only in this case, you must create a persistent volume for each Elasticsearch data and master pods. Optionally, also create a persistent volume for Elasticsearch data snapshots.
Before you begin
This procedure assumes that the NFS shared folder is /export/NFS.
About this task
If no dynamic provisioning is set up, you must create the appropriate persistent volumes. Go through the subsequent steps to create persistent volumes that persist data into NFS folders that are shared by an NFS server.
Moreover, if you want to enable the capability to take snapshots of Elasticsearch data, you must also create an extra persistent volume that is shared by all Elasticsearch data and master pods. For more information about snapshots, see Taking snapshots of Elasticsearch data.
For 18.0.0 and For 18.0.1 : If you use embedded Elasticsearch and Kibana, two Elasticsearch data pods are created by default. The following steps are based on the default.
New in 18.0.2 : If you use embedded Elasticsearch and Kibana, one Elasticsearch data pod and one Elasticsearch master pod are created by default. The following steps are based on this default number.