...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
$ k apply -f trial_app.yaml -n nfs-test # Enter one of the created replicas $ k exec -it -n nfs-test mystate-0 -- bash # Check the contents and permissions of the folder on which the volume is mounted root@mystate-0:/# cat /usr/share/nginx/html/file_test.txt test root@mystate-0:/# echo "test2" > /usr/share/nginx/html/file_test.txt bash: /usr/share/nginx/html/file_test.txt: Read-only file system |
Limitations and pitfalls
The software is subject to some limitations, listed below:
- The storage space provided is not guaranteed: you can allocate more than the total shared size via NFS, because there is no check for it.
- The provisioned storage limit is not enforced. The application can expand to use all the available storage regardless of the provisioned size.
- Storage resize/expansion operations are not presently supported in any form. You will end up in an error state:
Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.