Extend Kubernetes with NFS and Dynamic provisioning

I’m working on a new dev solution where I came accross required persistent volumes with nfs. This is how I solved it.

Requirements:

  • nfs-server
  • Kubernetes-SingleNode or Cluster

NFS-Server

pic by sysadmins.co.za

Installing NFS (if not yet installed):