Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.
/ nfs-provisioner Public archive

NFS server and provisioner for a kubernetes cluster

License

Notifications You must be signed in to change notification settings

two-tauers/nfs-provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moved to https://github.com/two-tauers/helm-charts/tree/main/charts/nfs-provisioner

nfs-provisioner

NFS storage provisioner for a kubernetes cluster, using a hard drive mounted on a node.

Prerequisites

Storage mounted on one of the nodes. Label the node that has a drive attached (named sauron here):

kubectl label node sauron storage=enabled

Default path on the node that NFS server will be sharing is /storage. That and the node selector can be customised in values.yaml.

See comments in values.yaml for explanation.

Install

The chart will deploy nfs-server to share the storage across the cluster and a storage class that uses it.

From helm repo

helm repo add two-tauers https://two-tauers.github.io/helm-charts
helm install nfs-provisioner two-tauers/nfs-provisioner --namespace storage --create-namespace

From this repo

helm install nfs-provisioner . --namespace storage --create-namespace

Uninstall

helm delete nfs-provisioner -n storage