MindaxisSearch for a command to run...
Review deployment and infrastructure configurations for production readiness. Pre-deployment: - [ ] All tests passing (unit, integration, e2e). - [ ] Environment variables configured (no hardcoded secrets). - [ ] Database migrations tested and reversible. - [ ] Health check endpoint responds correctly. - [ ] Logging configured with structured output. Security: - [ ] HTTPS enforced, TLS certificates valid. - [ ] CORS configured for allowed origins only. - [ ] Rate limiting enabled on public endpoints. - [ ] Secrets stored in vault/KMS, not in code or env files. - [ ] Dependencies scanned for vulnerabilities. Reliability: - [ ] Horizontal scaling configured (min 2 replicas). - [ ] Auto-scaling rules defined for CPU/memory. - [ ] Graceful shutdown implemented (drain connections). - [ ] Circuit breakers on external service calls. - [ ] Retry logic with exponential backoff. Monitoring: - [ ] APM/tracing configured (Datadog, New Relic, Sentry). - [ ] Alerts set for error rate, latency, CPU, memory. - [ ] Log aggregation enabled (ELK, Loki, CloudWatch). - [ ] Uptime monitoring on critical endpoints. Rollback: - [ ] Blue/green or canary deployment strategy. - [ ] Database rollback plan documented. - [ ] Feature flags for risky changes. Platform: {{platform}}
| ID | Метка | По умолчанию | Опции |
|---|---|---|---|
| platform | Deployment platform | Kubernetes | KubernetesAWS ECSVercelDocker Compose |
npx mindaxis apply devops-checklist --target cursor --scope project