apps(thelounge): Changed storage to s3yuyuko

This commit is contained in:
2025-06-06 11:17:01 +02:00
parent 618f430d2f
commit af4f700db3
2 changed files with 36 additions and 4 deletions

View File

@@ -1,11 +1,44 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: thelounge-pv
spec:
storageClassName: s3yuyuko
capacity:
storage: 5G
accessModes:
- ReadWriteOnce
claimRef:
namespace: default
name: thelounge-pvc
csi:
driver: ru.yandex.s3.csi
controllerPublishSecretRef:
name: csi-yuyuko-secret
namespace: kube-system
nodePublishSecretRef:
name: csi-yuyuko-secret
namespace: kube-system
nodeStageSecretRef:
name: csi-yuyuko-secret
namespace: kube-system
volumeAttributes:
capacity: 5G
mounter: s3fs-fuse
options: --memory-limit 1000 --dir-mode 0777 --file-mode 0666
volumeHandle: thelounge-pv
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: thelounge-pvc
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
storageClassName: s3yuyuko
resources:
requests:
storage: 2Gi
storage: 5G
volumeMode: Filesystem
volumeName: thelounge-pv

View File

@@ -1,12 +1,11 @@
apiVersion: apps/v1
kind: StatefulSet
kind: Deployment
metadata:
name: thelounge
labels:
app.kubernetes.io/name: thelounge
spec:
replicas: 1
serviceName: "thelounge"
selector:
matchLabels:
app.kubernetes.io/name: thelounge