diff --git a/deploy/k8s/backend-deployment.yaml b/deploy/k8s/backend-deployment.yaml index a68d811..c1b73a9 100644 --- a/deploy/k8s/backend-deployment.yaml +++ b/deploy/k8s/backend-deployment.yaml @@ -28,23 +28,12 @@ spec: labels: app: backend spec: - # Prefer Pi 5 nodes for backend (more RAM for Node.js) - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 100 - preference: - matchExpressions: - - key: kubernetes.io/arch - operator: In - values: - - arm64 # Pi 5 architecture imagePullSecrets: - name: regcred containers: - name: backend # Update with your registry and tag - image: gitea-http.taildb3494.ts.net/will/adopt-a-street/backend:latest + image: gitea-http.taildb3494.ts.net/will/adopt-a-street-backend:latest imagePullPolicy: Always ports: - containerPort: 5000 @@ -87,4 +76,4 @@ spec: initialDelaySeconds: 10 periodSeconds: 5 timeoutSeconds: 3 - failureThreshold: 3 \ No newline at end of file + failureThreshold: 3 diff --git a/deploy/k8s/frontend-deployment.yaml b/deploy/k8s/frontend-deployment.yaml index 7c5c28b..5d7f091 100644 --- a/deploy/k8s/frontend-deployment.yaml +++ b/deploy/k8s/frontend-deployment.yaml @@ -34,7 +34,7 @@ spec: containers: - name: frontend # Update with your registry and tag - image: gitea-http.taildb3494.ts.net/will/adopt-a-street/frontend:latest + image: gitea-http.taildb3494.ts.net/will/adopt-a-street-frontend:latest imagePullPolicy: Always ports: - containerPort: 80 @@ -61,4 +61,4 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 3 - failureThreshold: 3 \ No newline at end of file + failureThreshold: 3 diff --git a/deploy/k8s/registry-secret.yaml b/deploy/k8s/registry-secret.yaml index b39e66c..b30802c 100644 --- a/deploy/k8s/registry-secret.yaml +++ b/deploy/k8s/registry-secret.yaml @@ -4,5 +4,4 @@ data: kind: Secret metadata: name: regcred - namespace: adopt-a-street-prod type: kubernetes.io/dockerconfigjson