fix: file-svc PVC use ReadWriteOnce, add k3s registries config
Some checks failed
Build and Deploy GooSeek / build-and-deploy (push) Has been cancelled

- Change file-svc PVC from ReadWriteMany to ReadWriteOnce (local-path compatible)
- Set file-svc replicas to 1 (RWO limitation)
- Add k3s-registries.yaml for insecure private registry config

Made-with: Cursor
This commit is contained in:
home
2026-03-02 22:31:04 +03:00
parent c9e5ff69cf
commit e64567a224
2 changed files with 16 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/name: file-svc
app.kubernetes.io/part-of: gooseek
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: file-svc
@@ -83,7 +83,7 @@ metadata:
namespace: gooseek
spec:
accessModes:
- ReadWriteMany
- ReadWriteOnce
resources:
requests:
storage: 10Gi

View File

@@ -0,0 +1,14 @@
# K3s Private Registry Configuration
# This file should be copied to /etc/rancher/k3s/registries.yaml on the K3s node
# After copying, restart K3s: sudo systemctl restart k3s
mirrors:
"10.43.193.43:5000":
endpoint:
- "http://10.43.193.43:5000"
"registry.gooseek:5000":
endpoint:
- "http://registry.gooseek:5000"
"localhost:5000":
endpoint:
- "http://localhost:5000"