Ibrark8s:
I am using NFS with kubernetes and have following questions
Can we expand the NFS storage in future keeping the stored data intact?
Is NFS ensure 100% Availability, Integrity, and durability of data ?
What would be the way forward of recovering data if NFS goes down?
Trung Tran:
It depend on your NFS server, if you use service from cloud provider for this, they have committed SLA and also the solutions for backup and recovery, data loss prevention etc…
Ibrark8s:
@Trung Tran thank you but we are using locally by integrating NFS with kubernetes via storageclass for RWX mode purpose
Ibrark8s:
@Trung Tran followed this link
Trung Tran:
good to know, thanks @Ibrark8s
Alistair Mackay:
Hi @Ibrark8s
In answer to your original questions - if you’re using VMware vSAN solution or similar then the availability, integrity and maintenance of that is defined in the documentation for it.
If on the other hand, you’re just using some Linux server that serves NFS exports then
- Yes you should be able to if you’re using an LVM volume for the filesystem you’re exporting to NFS. Rules for expanding LVMs then apply.
- This depends on how the server is managed, i.e. backup schedules, operating system patches etc. There are tutorials on the web for setting up high availability for NFS, but you’d have to deploy and maintain more than one server.
- Restore the backup. There would be no service while the server is restored and data only preserved to the time of the last backup. Invest in a good backup solution.
Ibrark8s:
Thank you so much for the detailed answer @Alistair Mackay