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-22 00:17:56 +01: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 05:24:34 +01:00
server: 10.0.0.136
2024-09-22 00:17:56 +01:00
share: /mnt/user/Kubernetes
reclaimPolicy: Delete
volumeBindingMode: Immediate
mountOptions:
- hard
- nfsvers=4.1