Commit 244a631a authored by Yann Garcia's avatar Yann Garcia
Browse files

Remove duplicate procedure to install NFS server on the host for MEC 016

parent 593f74e4
Loading
Loading
Loading
Loading
+0 −36
Original line number Original line Diff line number Diff line
@@ -365,39 +365,3 @@ There will be an added advantage of being able to inspect container logs from di


This level of understanding will provide a solid foundation for working on the development of a new feature, i.e., implementing a new MEC service in the MEC Sandbox. See [Development Guide](./development-guide.md) for the next steps in this feature development journey.
This level of understanding will provide a solid foundation for working on the development of a new feature, i.e., implementing a new MEC service in the MEC Sandbox. See [Development Guide](./development-guide.md) for the next steps in this feature development journey.
## Host NFS and k8s pods filesystem sharing

### Deploying NFS on host

1. Install the NFS server
```sh
$ sudo apt install nfs-kernel-server nfs-common portmap
```
2. Verift the installation
```sh
$ sudo systemctl status nfs-server
```
3. Create the shared folder
```sh
$ sudo mkdir -p /mnt/nfs/mec_sandbox
$ sudo chmod -R 777 /mnt/nfs/
```
4. Create the /etc/exports file 
```sh
$ sudo echo '/mnt/nfs/mec_sandbox  *(rw,sync,no_subtree_check,no_root_squash,insecure)' > /etc/exports
```
5. Apply the /etc/exports settings
```sh
$ sudo exportfs -rv
```
6. Verify the NFS exports
```sh
$ sudo showmount -e
```

### Creating Persistant Volume and Persistant Volume Claim



### Updating Deployment