Files
apps
infrastructure
argocd
backup
external
external-dns
gitea
metallb-system
nfs-provisioner
README.md
kustomization.yaml
namespace.yaml
nfs_values.yaml
storageclass_values.yaml
pg-ha
prometheus
renovate
sealedsecrets
traefik-system
kluster-deployments
.gitignore
README.md
renovate.json
k3s-infra/infrastructure/nfs-provisioner/README.md

473 B

How to use

This deployment exposes a StorageClass named nfs-client that can be used to create PersistentVolumeClaim resources:

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: test-claim
  namespace: test-namespace
spec:
  storageClassName: nfs-client
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 1Mi

This will create a new folder in the NFS server under <base-path>/test-namespace/test-claim and mount it.