redaction (#1)
Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: longhorn-postgresql
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "false"
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
parameters:
|
||||
# Single replica as recommended by CloudNativePG docs
|
||||
# PostgreSQL handles replication at application level
|
||||
numberOfReplicas: "1"
|
||||
staleReplicaTimeout: "2880"
|
||||
fromBackup: ""
|
||||
fsType: "xfs"
|
||||
dataLocality: "strict-local"
|
||||
# Automatically assign S3 backup jobs to PostgreSQL volumes
|
||||
recurringJobSelector: |
|
||||
[
|
||||
{
|
||||
"name":"longhorn-s3-backup",
|
||||
"isGroup":true
|
||||
},
|
||||
{
|
||||
"name":"longhorn-s3-backup-weekly",
|
||||
"isGroup":true
|
||||
}
|
||||
]
|
||||
reclaimPolicy: Retain
|
||||
volumeBindingMode: Immediate
|
||||
Reference in New Issue
Block a user