Kustomize base + overlays for the full Sunbeam k3s stack: - base/mesh — Linkerd edge (crds + control-plane + viz) - base/ingress — custom Pingora edge proxy - base/ory — Kratos 0.60.1 + Hydra 0.60.1 + login-ui - base/data — CloudNativePG 0.27.1, Valkey 8, OpenSearch 2 - base/storage — SeaweedFS master + volume + filer (S3 on :8333) - base/lasuite — Hive sync daemon + La Suite app placeholders - base/media — LiveKit livekit-server 1.9.0 - base/devtools — Gitea 12.5.0 (external PG + Valkey) overlays/local — sslip.io domain, mkcert TLS, Lima hostPort overlays/production — stub (TODOs for sunbeam.pt values) scripts/ — local-up/down/certs/urls helpers justfile — up / down / certs / urls targets
75 lines
1.6 KiB
YAML
75 lines
1.6 KiB
YAML
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:
|
|
containers:
|
|
- name: filer
|
|
image: chrislusf/seaweedfs:latest
|
|
args:
|
|
- filer
|
|
- -port=8888
|
|
- -s3
|
|
- -s3.port=8333
|
|
- -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
|
|
mountPath: /etc/seaweedfs
|
|
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
|
|
- name: filer-data
|
|
emptyDir: {}
|
|
---
|
|
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
|