An updated version of the widely used NFS Server image k8s.gcr.io/volume-nfs:0.8 which was based on the old and deprecated CentOS 7 image.
The image can only be used with NFS CSI Driver
Once deployed into a KxS cluster it will enable the ReadWriteMany feature for Persistent Volumes created with the StorageClass nfs-csi
.
- Tested in production environments
- For existing K8S Deployments, the related PVC must be recreated
- Make sure to expose these ports:
ports: - name: nfs containerPort: 2049 protocol: TCP - name: mountd containerPort: 20048 protocol: TCP - name: rpcbind containerPort: 111 protocol: TCP