Answers: <p>NFS is a commonly used storage option for Kubernetes, but it is not as reliable as some other options such as persistent volumes or distributed file systems. This is because NFS relies on a single server for storage, which can be a single point of failure. Additionally, NFS can experience performance degradation when handling high volumes of data or a large number of concurrent connections.</p>
  
Answers: CC BY-SA 4.0
Answers: 2022-12-04T13:43:54.033Z
Answers: 2022-12-04T13:43:54.033Z
Answers: Haim Cohen
Body: <p>I'm setting up a self-managed Kubernetes cluster where I'm limited by the number of choices for the backend storage for Pods.</p>
  <p>I should use a remote storage, so that multiple Pods can read/write at the same time, and Pods can get migrated easily to other nodes. Of course the reliability of storage is important.</p>
  <p>Due to hardware limitations, Ceph is not an option. GlusterFS is also depreciated.</p>
  <p>NFS seems to be my only option. So my question is, how reliable is NFS for using in Kubernetes? Would applications (mostly Java-based) and databases (mysql, postgres) behave abnormally?</p>
  
Tags: <docker><kubernetes><containers><storage><kubernetes-volume>
Title: How reliable is NFS for using in Kubernetes?
UserDisplayName: Javad
ThreadText: # How reliable is NFS for using in Kubernetes?
  
  (Asked by: username_0 on 2022-12-01)
  
  I'm setting up a self-managed Kubernetes cluster where I'm limited by the number of choices for the backend storage for Pods.
  
  I should use a remote storage, so that multiple Pods can read/write at the same time, and Pods can get migrated easily to other nodes. Of course the reliability of storage is important.
  
  Due to hardware limitations, Ceph is not an option. GlusterFS is also depreciated.
  
  NFS seems to be my only option. So my question is, how reliable is NFS for using in Kubernetes? Would applications (mostly Java-based) and databases (mysql, postgres) behave abnormally?
  
  **Tags:** docker, kubernetes, containers, storage, kubernetes-volume
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-12-04. Score: 1
  
  NFS is a commonly used storage option for Kubernetes, but it is not as reliable as some other options such as persistent volumes or distributed file systems. This is because NFS relies on a single server for storage, which can be a single point of failure. Additionally, NFS can experience performance degradation when handling high volumes of data or a large number of concurrent connections.
  
  
  ---
  
  