rework postgres storage to single-replica best-effort
This commit is contained in:
parent
7dd21eefae
commit
b86e2a63cc
3 changed files with 42 additions and 21 deletions
|
|
@ -2,27 +2,13 @@
|
|||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn-ssd
|
||||
name: longhorn-single-replica-best-effort
|
||||
namespace: darkdork-dev
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
parameters:
|
||||
numberOfReplicas: "3"
|
||||
staleReplicaTimeout: "2880" # 48 hours in minutes
|
||||
numberOfReplicas: "1"
|
||||
staleReplicaTimeout: "30"
|
||||
fsType: "ext4"
|
||||
fromBackup: ""
|
||||
fsType: "xfs"
|
||||
# backupTargetName: "default"
|
||||
# mkfsParams: "-I 256 -b 4096 -O ^metadata_csum,^64bit"
|
||||
# diskSelector: "ssd,fast"
|
||||
# nodeSelector: "storage,fast"
|
||||
# recurringJobSelector: '[
|
||||
# {
|
||||
# "name":"snap",
|
||||
# "isGroup":true,
|
||||
# },
|
||||
# {
|
||||
# "name":"backup",
|
||||
# "isGroup":false,
|
||||
# }
|
||||
# ]'
|
||||
---
|
||||
data-locality: "best-effort"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue