Set up NFS for PV

This commit is contained in:
Jim Nicholson 2022-02-20 17:01:46 -08:00
parent f214a34323
commit d6fb189db3
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- truenas-nfs.yaml

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: kube-storage-nfs
labels:
bucket: shared
spec:
capacity:
storage: 11T
volumeMode: Filesystem
storageClassName: slow
persistentVolumeReclaimPolicy: Retain
accessModes:
- ReadWriteMany
nfs:
server: 10.0.96.14
path: "/mnt/data/nfs"
readOnly: false