Sometimes it is necessary to store some important data persistently in the cluster, and then mount it when needed, so let's take a look at how to realize the persistent storage operation of data.
1. nfs network storage
-1. Find a server to be the server of nfs and install nfs. (Here we implement it directly on the master).
Here you should find a separate node to build a persistent service.
-2. Set the mount path, set as follows under /etc/exports
-3. Create a path for external mounting