You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
473 B
YAML

# Used to demonstrate running a postgres server backed by a Persistent Volume of type NFS on the cluster
# See nfs-volume-claim.yaml
# This only works if the host (ubuntu in my case) had nfs-kernel-server installed using apt install
apiVersion: v1
kind: PersistentVolume
metadata:
name: postgres-nfs
namespace: runcible
spec:
capacity:
storage: 10Gi
accessModes:
- ReadWriteMany
nfs:
server: nas1.runcible.io
path: '/volume1/expanse/postgres_k8s'