diff --git a/backend/deploy/k8s/file-svc.yaml b/backend/deploy/k8s/file-svc.yaml index ab86cb1..2741d15 100644 --- a/backend/deploy/k8s/file-svc.yaml +++ b/backend/deploy/k8s/file-svc.yaml @@ -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 diff --git a/backend/deploy/k8s/k3s-registries.yaml b/backend/deploy/k8s/k3s-registries.yaml new file mode 100644 index 0000000..1c350f6 --- /dev/null +++ b/backend/deploy/k8s/k3s-registries.yaml @@ -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"