Moved to https://github.com/two-tauers/helm-charts/tree/main/charts/nfs-provisioner
NFS storage provisioner for a kubernetes cluster, using a hard drive mounted on a node.
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.
The chart will deploy nfs-server to share the storage across the cluster and a storage class that uses it.
helm repo add two-tauers https://two-tauers.github.io/helm-charts
helm install nfs-provisioner two-tauers/nfs-provisioner --namespace storage --create-namespace
helm install nfs-provisioner . --namespace storage --create-namespace
helm delete nfs-provisioner -n storage