2026-02-28 13:42:27 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: seaweedfs-filer
|
|
|
|
|
namespace: storage
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: seaweedfs-filer
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: seaweedfs-filer
|
|
|
|
|
spec:
|
feat(infra): data, storage, devtools, and ory layer updates
- data: CNPG cluster tuning, OpenBao values, OpenSearch deployment fixes,
OpenSearch PVC, barman vault secret for S3 backup credentials
- storage: SeaweedFS filer updates (s3.json via secret subPath), PVC for
filer persistent storage
- devtools: Gitea values (SSH service, custom theme), gitea-theme-cm ConfigMap
- ory: add kratos-selfservice-urls.yaml for self-service flow URLs
- media: LiveKit values updated (TURN config, STUN, resource limits)
- vso: kustomization cleanup
2026-03-06 12:07:28 +00:00
|
|
|
initContainers:
|
|
|
|
|
- name: fix-permissions
|
|
|
|
|
image: busybox
|
|
|
|
|
command: ["sh", "-c", "chmod 777 /data/filer"]
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: filer-data
|
|
|
|
|
mountPath: /data/filer
|
2026-02-28 13:42:27 +00:00
|
|
|
containers:
|
|
|
|
|
- name: filer
|
|
|
|
|
image: chrislusf/seaweedfs:latest
|
|
|
|
|
args:
|
|
|
|
|
- filer
|
|
|
|
|
- -port=8888
|
|
|
|
|
- -s3
|
|
|
|
|
- -s3.port=8333
|
feat: bring up local dev stack — all services running
- Ory Hydra + Kratos: fixed secret management, DSN config, DB migrations,
OAuth2Client CRD (helm template skips crds/ dir), login-ui env vars
- SeaweedFS: added s3.json credentials file via -s3.config CLI flag
- OpenBao: standalone mode with auto-unseal sidecar, keys in K8s secret
- OpenSearch: increased memory to 1.5Gi / JVM 1g heap
- Gitea: SSL_MODE disable, S3 bucket creation fixed
- Hive: automountServiceAccountToken: false (Lima virtiofs read-only rootfs quirk)
- LiveKit: API keys in values, hostPort conflict resolved
- Linkerd: native sidecar (proxy.nativeSidecar=true) to avoid blocking Jobs
- All placeholder images replaced: pingora→nginx:alpine, login-ui→oryd/kratos-selfservice-ui-node
Full stack running: postgres, valkey, openbao, opensearch, seaweedfs,
kratos, hydra, gitea, livekit, hive (placeholder), login-ui
2026-02-28 22:08:38 +00:00
|
|
|
- -s3.config=/etc/seaweedfs/s3.json
|
2026-02-28 13:42:27 +00:00
|
|
|
- -master=seaweedfs-master.storage.svc.cluster.local:9333
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 8888
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: s3
|
|
|
|
|
containerPort: 8333
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: grpc
|
|
|
|
|
containerPort: 18888
|
|
|
|
|
protocol: TCP
|
|
|
|
|
envFrom:
|
|
|
|
|
- secretRef:
|
|
|
|
|
name: seaweedfs-s3-credentials
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: config
|
2026-03-02 18:32:16 +00:00
|
|
|
mountPath: /etc/seaweedfs/filer.toml
|
|
|
|
|
subPath: filer.toml
|
|
|
|
|
readOnly: true
|
|
|
|
|
- name: s3-json-secret
|
|
|
|
|
mountPath: /etc/seaweedfs/s3.json
|
|
|
|
|
subPath: s3.json
|
2026-02-28 13:42:27 +00:00
|
|
|
readOnly: true
|
|
|
|
|
- name: filer-data
|
|
|
|
|
mountPath: /data/filer
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
memory: 256Mi
|
|
|
|
|
requests:
|
|
|
|
|
memory: 128Mi
|
|
|
|
|
cpu: 50m
|
|
|
|
|
volumes:
|
|
|
|
|
- name: config
|
|
|
|
|
configMap:
|
|
|
|
|
name: seaweedfs-filer-config
|
2026-03-02 18:32:16 +00:00
|
|
|
- name: s3-json-secret
|
|
|
|
|
secret:
|
|
|
|
|
secretName: seaweedfs-s3-json
|
2026-02-28 13:42:27 +00:00
|
|
|
- name: filer-data
|
feat(infra): data, storage, devtools, and ory layer updates
- data: CNPG cluster tuning, OpenBao values, OpenSearch deployment fixes,
OpenSearch PVC, barman vault secret for S3 backup credentials
- storage: SeaweedFS filer updates (s3.json via secret subPath), PVC for
filer persistent storage
- devtools: Gitea values (SSH service, custom theme), gitea-theme-cm ConfigMap
- ory: add kratos-selfservice-urls.yaml for self-service flow URLs
- media: LiveKit values updated (TURN config, STUN, resource limits)
- vso: kustomization cleanup
2026-03-06 12:07:28 +00:00
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: seaweedfs-filer-data
|
2026-02-28 13:42:27 +00:00
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: seaweedfs-filer
|
|
|
|
|
namespace: storage
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
app: seaweedfs-filer
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
port: 8888
|
|
|
|
|
targetPort: 8888
|
|
|
|
|
- name: s3
|
|
|
|
|
port: 8333
|
|
|
|
|
targetPort: 8333
|
|
|
|
|
- name: grpc
|
|
|
|
|
port: 18888
|
|
|
|
|
targetPort: 18888
|