apiVersion: apps/v1 kind: Deployment metadata: name: taskarr # Must match the name in base/ spec: replicas: 2 # Scale up for production template: spec: containers: - name: main # This name must match base EXACTLY ports: # Adding this back into the patch solves the diff - containerPort: 3000 name: taskarr # Production-specific resource limits resources: limits: cpu: "1" memory: "1Gi" requests: cpu: "500m" memory: "512Mi" # Adding a production-only environment variable env: - name: NODE_ENV value: "production"