apps(opengist): Using seaweedfs-storage

This commit is contained in:
2025-06-23 13:39:02 -04:00
parent 45cc81d84f
commit ead57189ee
2 changed files with 4 additions and 45 deletions

View File

@@ -14,16 +14,6 @@ spec:
labels: labels:
app.kubernetes.io/name: opengist app.kubernetes.io/name: opengist
spec: spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: location
operator: In
values:
- fsn
volumes: volumes:
- name: opengist-data - name: opengist-data
persistentVolumeClaim: persistentVolumeClaim:
@@ -43,5 +33,5 @@ spec:
httpGet: httpGet:
path: /healthcheck path: /healthcheck
port: 6157 port: 6157
initialDelaySeconds: 3 initialDelaySeconds: 30
periodSeconds: 3 periodSeconds: 5

View File

@@ -1,32 +1,3 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: opengist-pv
spec:
storageClassName: s3yuyuko
capacity:
storage: 5G
accessModes:
- ReadWriteOnce
claimRef:
namespace: default
name: opengist-data-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 -o allow_other --uid 1000 --gid 1000
volumeHandle: opengist-pv
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
@@ -35,9 +6,7 @@ metadata:
spec: spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
storageClassName: s3yuyuko
resources: resources:
requests: requests:
storage: 5G storage: 5Gi
volumeMode: Filesystem storageClassName: seaweedfs-storage
volumeName: opengist-pv