This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
homelab/kubernetes/infrastructure/nfs/nfs-csi.yaml

17 lines
331 B
YAML
Raw Permalink Normal View History

2024-09-21 23:17:56 +00:00
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: nfs-csi
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: nfs.csi.k8s.io
parameters:
2024-09-22 04:24:34 +00:00
server: 10.0.0.136
2024-09-21 23:17:56 +00:00
share: /mnt/user/Kubernetes
reclaimPolicy: Delete
volumeBindingMode: Immediate
mountOptions:
- hard
- nfsvers=4.1