...
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt update
sudo apt install nfs-common
sudo mkdir /dockerdata-nfs
sudo chmod 777 /dockerdata-nfs
sudo mount -t nfs -o proto=tcp,port=2049 <host|IP of k8s master node vm>:/dockerdata-nfs /dockerdata-nfs nfs auto 0 0:/dockerdata-nfs /dockerdata-nfs
sudo vi /etc/fstab
# append "<host|IP of k8s master node vm>:/dockerdata-nfs /dockerdata-nfs nfs auto 0 0" |
...