Hi there! We use DigitalOcean Kubernetes and installed nfs-server pod from chart https://github.com/helm/charts/tree/master/stable/nfs-server-provisioner I created PersistentVolume to store share data on server I can create new storage type-nfs PVCs ,but cannot mount them into pods
Mounting arguments: --description=Kubernetes transient mount for /var/lib/kubelet/pods/31c80132-e05b-11e8-864a-cef2c7d83b2b/volumes/kubernetes.io~nfs/pvc-f7711e8b-e059-11e8-864a-cef2c7d83b2b --scope -- mount -t nfs -o vers=4.1 10.245.170.236:/export/pvc-f7711e8b-e059-11e8-864a-cef2c7d83b2b /var/lib/kubelet/pods/31c80132-e05b-11e8-864a-cef2c7d83b2b/volumes/kubernetes.io~nfs/pvc-f7711e8b-e059-11e8-864a-cef2c7d83b2b
Output: Running scope as unit: run-r60a7b468a19140d0832fdc6f1d14a662.scope
mount: wrong fs type, bad option, bad superblock on 10.245.170.236:/export/pvc-f7711e8b-e059-11e8-864a-cef2c7d83b2b,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so.
That looks like nfs-utils/nfs-common not installed on nodes and I cannot do it
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
yes we can add ansible playbook to bootsrap all need to DO nodes , but it will be simpler just to have smth out the box
Hi! At the moment one of solutions that we found are logging into nodes via ssh and manually installing nfs-common package. Then it’s working ok.
Ran into the same issue with an NFS backed PV and had to install manually nfs-common package on the worker node to overcome it. I second to make this a pre-installed package on new worker nodes.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.