feat: add seaweedfs s3 storage on top of longhorn

This commit is contained in:
2026-01-15 15:02:18 +01:00
parent d980268379
commit a089f8da9c
3 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: seaweedfs
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
source:
repoURL: https://git.cloud-infra.prod.openmailserver.de/stabify/gitops.git
targetRevision: HEAD
path: infrastructure/seaweedfs
destination:
server: https://kubernetes.default.svc
namespace: seaweedfs
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true

View File

@@ -0,0 +1,10 @@
apiVersion: v2
name: seaweedfs-bootstrap
description: Wrapper chart for SeaweedFS
type: application
version: 1.0.0
appVersion: "3.59"
dependencies:
- name: seaweedfs
version: 3.59.0
repository: https://seaweedfs.github.io/seaweedfs/helm

View File

@@ -0,0 +1,68 @@
seaweedfs:
image:
registry: docker.io
repository: chrislusf/seaweedfs
tag: 3.59
# Volume Server (Speicher)
volume:
replicas: 3
data:
type: persistentVolumeClaim
size: 10Gi # Startgröße pro Volume Server
storageClass: longhorn
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1024Mi
# Master Server (Metadaten)
master:
replicas: 3
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
memory: 512Mi
# Filer (Dateisystem + S3 Gateway)
filer:
replicas: 2 # High Availability
resources:
requests:
cpu: 100m
memory: 256Mi
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: filer.seaweedfs.apps.internal.k3s.stabify.de
paths:
- /
tls:
- secretName: seaweedfs-filer-tls
hosts:
- filer.seaweedfs.apps.internal.k3s.stabify.de
# S3 API (separater Service oder via Filer)
s3:
enabled: true
replicas: 2
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: s3.apps.internal.k3s.stabify.de
paths:
- /
tls:
- secretName: seaweedfs-s3-tls
hosts:
- s3.apps.internal.k3s.stabify.de