diff --git a/k8s-manifests/storedog-app/deployments/frontend.yaml b/k8s-manifests/storedog-app/deployments/frontend.yaml index 1c3c38ea..b4e0bdfb 100644 --- a/k8s-manifests/storedog-app/deployments/frontend.yaml +++ b/k8s-manifests/storedog-app/deployments/frontend.yaml @@ -42,7 +42,7 @@ spec: image: ${REGISTRY_URL}/frontend:${SD_TAG} ports: - containerPort: 3000 - command: ["npm", "run", "dev"] + command: ["npm", "run", "prod"] env: - name: NEXT_PUBLIC_ADS_ROUTE valueFrom: @@ -126,12 +126,13 @@ spec: httpGet: path: / port: 3000 - initialDelaySeconds: 180 - periodSeconds: 20 + initialDelaySeconds: 40 + periodSeconds: 30 failureThreshold: 5 readinessProbe: httpGet: path: / port: 3000 - initialDelaySeconds: 120 + initialDelaySeconds: 30 periodSeconds: 20 + timeoutSeconds: 5