Set up NFS for PV
This commit is contained in:
parent
f214a34323
commit
d6fb189db3
4
applications/storage/kustomization.yaml
Normal file
4
applications/storage/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- truenas-nfs.yaml
|
||||
18
applications/storage/truenas-nfs.yaml
Normal file
18
applications/storage/truenas-nfs.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user