Tip |
---|
You can skip this step if your Kubernetes deployment is on a single VM or physical system. |
...
These instruction where written using VMs created from a ubuntu-16.04-server-cloudimg-amd64-disk1 image.
Table of Contents |
---|
Create NFS Server and export /dockerdata-nfs on Kubernetes master node VM
The actual /dockerdata-nfs folder will live on the Kubernetes master node VM.
...
Warning | ||
---|---|---|
| ||
More investigatio needed (as part of multi-nodes kubernetes cluser) as I'm having "Operation not permitted" error in sdnc-dbhost pod when deploying SDN-C cluster with the mounted /dockerdata-nfs from this instruction:
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt install nfs-common sudo mkdir /dockerdata-nfs sudo chmod 777 /dockerdata-nfs sudo mount -t nfs -o proto=tcp,port=2049 k8s-master:/export/dockerdata-nfs /dockerdata-nfs sudo vi /etc/fstab # append "<host|IP of k8s master node vm>:/export/dockerdata-nfs /dockerdata-nfs nfs auto 0 0" |
Tips
unmount
Use the lazy (-l) option to force unmount the mount point.
...