21 lines
590 B
YAML
21 lines
590 B
YAML
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: postgres
|
|
annotations:
|
|
kubernetes.io/description: |
|
|
Storage class for Postgres, Postgis and similar applications that
|
|
implement high availability in application layer.
|
|
This storage class uses XFS, has no block level redundancy and
|
|
has block device level caching disabled.
|
|
provisioner: csi.proxmox.sinextra.dev
|
|
reclaimPolicy: Retain
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
allowVolumeExpansion: true
|
|
parameters:
|
|
csi.storage.k8s.io/fstype: xfs
|
|
storage: ks-pvs
|
|
cache: none
|
|
ssd: "true"
|