Share storage between worker nodes in Kubernetes?

11/3/2019

Is there any shared volume solution between kubernetes worker nodes , like gfs2 .

For example when i create single mysql server with persistent volume , if Worker node(which mysql pod is running on) Fail , pod is automatically recreating on other nodes , but data has losed becouse of first worker node has gone down and persistent volume was on this failed worker node.

Can i use gfs2 clustered storage on worker node ?

-- ali mumcu
kubernetes
linux

1 Answer

11/22/2019

Agree with comments above and posting as a community wiki for future.

Relevant for 1.16 version. As per official Persistent Volumes documentation there is a list of volumes supported ReadWriteMany access mode:

  • AzureFile
  • CephFS
  • Glusterfs
  • Quobyte
  • NFS
  • PortworxVolume

enter image description here

Suggest you use one of them.

-- VKR
Source: StackOverflow