2022-12-06 07:06:07 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
2024-08-16 15:50:09 +00:00
|
|
|
metadata:
|
2024-08-24 09:15:30 +00:00
|
|
|
name: postgres
|
2024-08-25 06:26:57 +00:00
|
|
|
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.
|
2024-08-24 13:29:10 +00:00
|
|
|
provisioner: csi.proxmox.sinextra.dev
|
2024-08-24 09:15:30 +00:00
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
|
|
allowVolumeExpansion: true
|
|
|
|
parameters:
|
2024-08-24 13:29:10 +00:00
|
|
|
csi.storage.k8s.io/fstype: xfs
|
|
|
|
storage: ks-pvs
|
|
|
|
cache: none
|
|
|
|
ssd: "true"
|
2024-08-24 09:15:30 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: mysql
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for MySQL, MariaDB 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.
|
2024-08-24 13:29:10 +00:00
|
|
|
provisioner: csi.proxmox.sinextra.dev
|
2024-08-16 15:50:09 +00:00
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
|
|
allowVolumeExpansion: true
|
|
|
|
parameters:
|
2024-08-24 13:29:10 +00:00
|
|
|
csi.storage.k8s.io/fstype: xfs
|
|
|
|
storage: ks-pvs
|
|
|
|
cache: none
|
|
|
|
ssd: "true"
|
2024-08-16 15:50:09 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
2022-12-06 07:06:07 +00:00
|
|
|
metadata:
|
|
|
|
name: mongo
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for Mongo 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.
|
2024-08-24 13:29:10 +00:00
|
|
|
provisioner: csi.proxmox.sinextra.dev
|
2022-12-06 07:06:07 +00:00
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
|
|
allowVolumeExpansion: true
|
|
|
|
parameters:
|
2024-08-24 13:29:10 +00:00
|
|
|
csi.storage.k8s.io/fstype: xfs
|
|
|
|
storage: ks-pvs
|
|
|
|
cache: none
|
|
|
|
ssd: "true"
|
2022-12-06 07:06:07 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: prometheus
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for Prometheus 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.
|
2024-08-24 13:29:10 +00:00
|
|
|
provisioner: csi.proxmox.sinextra.dev
|
2022-12-06 07:06:07 +00:00
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
|
|
allowVolumeExpansion: true
|
2024-08-24 13:29:10 +00:00
|
|
|
parameters:
|
|
|
|
csi.storage.k8s.io/fstype: xfs
|
|
|
|
storage: ks-pvs
|
|
|
|
cache: none
|
|
|
|
ssd: "true"
|
2022-12-06 07:06:07 +00:00
|
|
|
---
|
2024-08-25 06:26:57 +00:00
|
|
|
apiVersion: storage.k8s.io/v1
|
2022-12-06 07:06:07 +00:00
|
|
|
kind: StorageClass
|
2023-05-27 07:09:15 +00:00
|
|
|
metadata:
|
|
|
|
name: woodpecker
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for Drone, Woodpecker and similar application
|
|
|
|
pipeline runs where Git repos are checked out to.
|
|
|
|
This storage class uses XFS, has no block level redundancy and it's
|
|
|
|
deleted as soon as the pod exits.
|
2023-05-27 07:09:15 +00:00
|
|
|
provisioner: driver.longhorn.io
|
|
|
|
reclaimPolicy: Delete
|
|
|
|
volumeBindingMode: Immediate
|
|
|
|
allowVolumeExpansion: true
|
|
|
|
parameters:
|
|
|
|
dataLocality: best-effort
|
|
|
|
numberOfReplicas: "1"
|
|
|
|
fsType: "xfs"
|
2023-07-28 14:11:37 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: gitea
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for Gitea and similar applications needing
|
|
|
|
block device level replication with 3 replicas using XFS filesystem and
|
|
|
|
best effort data locality.
|
2023-07-28 14:11:37 +00:00
|
|
|
provisioner: driver.longhorn.io
|
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: Immediate
|
|
|
|
allowVolumeExpansion: true
|
|
|
|
parameters:
|
|
|
|
dataLocality: best-effort
|
|
|
|
numberOfReplicas: "3"
|
|
|
|
fsType: "xfs"
|
2024-08-24 09:15:30 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: rabbitmq
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for RabbitMQ and similar applications
|
|
|
|
deployed in highly available fashion utilizing application level
|
|
|
|
replication needing persistent volume.
|
|
|
|
This storage class uses XFS, has no block level redundancy and
|
|
|
|
has block device level caching disabled.
|
2024-08-24 13:29:10 +00:00
|
|
|
provisioner: csi.proxmox.sinextra.dev
|
2024-08-24 09:15:30 +00:00
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
|
|
allowVolumeExpansion: true
|
|
|
|
parameters:
|
2024-08-24 13:29:10 +00:00
|
|
|
csi.storage.k8s.io/fstype: xfs
|
|
|
|
storage: ks-pvs
|
|
|
|
cache: none
|
|
|
|
ssd: "true"
|
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: redis
|
2024-08-25 06:26:57 +00:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for Redis, KeyDB, DragonflyDB and similar applications
|
|
|
|
deployed in highly available fashion utilizing application level
|
|
|
|
replication needing persistent volume for storing the snapshots.
|
|
|
|
This storage class uses XFS, has no block level redundancy and
|
|
|
|
has block device level caching disabled.
|
2024-08-24 13:29:10 +00:00
|
|
|
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"
|
2024-08-25 06:26:57 +00:00
|
|
|
---
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: "null"
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/description: |
|
|
|
|
Storage class for applications insisting on having a PV, but actually do
|
|
|
|
not and for data that can be discarded immediately
|
|
|
|
provisioner: rancher.io/local-path
|
|
|
|
reclaimPolicy: Delete
|
|
|
|
volumeBindingMode: WaitForFirstConsumer
|