How to setup NFS‌ ‌Provisioning‌ ‌Server‌ ‌For‌ ‌Kubernetes?‌

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management.

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management. It was originally designed by Google and is now maintained by the Cloud Native Computing Foundation.

The goal of this post is to understand how NFS provisioning work in Kubernetes. In the first part i will deploy the volume and claim manually, then use a more automated “dynamic” approach to provision the volume

Pre-Requisites for Dynamic NFS Provisioning in Kubernetes

  • Linux Work Station

  • K8 Cluster with no other load balancer installed

  • Kubernetes-cli or kubectl program

  • Kubernetes version v1.15.1 (any version should work)

  • Routable IP network with DHCP configured

  • Helm Package Manager installed

  • Tiller Service Running

In this post :

  • NFS‌ ‌Provisioning‌ ‌Server‌ In Kubernetes Why Use Kubernetes?

  • Deploying Dynamic NFS Provisioning in Kubernetes

  • Kubernetes Volumes and NFS

  • Ways to Access Data via NFS in Kubernetes

  • Advantages of Using NFS With Kubernetes

  • Kubernetes Persistent Volumes

  • Mounting an Ephemeral NFS Share on a Container