docs(README): Add OMV documentation

This commit is contained in:
Tanguy Herbron 2023-11-12 23:04:38 +01:00
parent 4c6e278623
commit c0bdaf0315

View File

@ -33,21 +33,8 @@ https://github.com/OpenMediaVault-Plugin-Developers/installScript#to-skip-networ
# Additional configuration
- Add label to output node on k3s to enable load balancer
# Notes
Running the configuration for a node without inventory
```
ansible-playbook init.yml -i <ips-separated-by-commas> -u creator --private-key <path-to-ssh-key> --ask-become --extra-vars '{"hostname": "foo"}'
```
Running the configuration for a node with inventory
- Add node to inventory
- Add node to `virgin` group
- Run following command
```
ansible-playbook init.yml -i inventory --limit virgin
```
Initiate the cluster from scratch
```
make all
```
# OMV configuration
## NFS configuration
- Create FS
- Enable NFS
- `subtree_check,insecure,no_root_squash,anonuid=1000,anongid=100` in NFS share extra options