trying to manually create
This commit is contained in:
1 parent
4cd401f69e
commit
134ba2718d
2 files changed
+29
-2
No files matched your search
@@ -1,6 +1,7 @@
|
||||
postgresql:
|
||||
gloabl:
|
||||
storageClass: "truenas-scale-nfs-k3s-cluster-general"
|
||||
primary:
|
||||
persistence:
|
||||
existingClaim: database-postgres
|
||||
storageClass: "truenas-scale-nfs-k3s-cluster-general"
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
annotations:
|
||||
pv.kubernetes.io/provisioned-by: nfs.csi.k8s.io
|
||||
name: database-postgres
|
||||
namespace: database
|
||||
spec:
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: truenas-scale-nfs-k3s-cluster-general
|
||||
mountOptions:
|
||||
- nfsvers=4.1
|
||||
csi:
|
||||
driver: nfs.csi.k8s.io
|
||||
readOnly: false
|
||||
# volumeHandle format: {nfs-server-address}#{sub-dir-name}#{share-name}
|
||||
# make sure this value is unique for every share in the cluster
|
||||
volumeHandle: 192.168.8.107#database-pg#/mnt/EightTerra/k3s-cluster
|
||||
volumeAttributes:
|
||||
server: 192.168.8.107
|
||||
share: /mnt/EightTerra/k3s-cluster/database-pg
|
||||
Reference in new issue
Block a user