Interview Prep/CI/CD/Deployment, Kubernetes and GitOps Failures

ECS service deployment keeps rolling back: `service ... was unable to place a task`.

IntermediateTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer

Likely causes → Insufficient CPU/memory in the cluster, no subnets or ENI capacity, failing health checks.

Diagnose → aws ecs describe-services --services X --query 'services[0].events[:5]'.

Fix → Add capacity, fix target group health check, fix image/secrets.

Prevent → Deployment circuit breaker with rollback enabled.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Deployment, Kubernetes and GitOps Failures