Deployment Problems
This guide covers common deployment issues across Kubernetes, Docker, and Cloud Run environments.Kubernetes Pod CrashLoopBackOff
Symptom: Pods continuously restart withCrashLoopBackOff status
Diagnosis:
1. Missing Environment Variables
deployments/base/secrets.yaml or External Secrets configuration.
2. Cloud SQL Proxy Connection Failure
3. Resource Limits Too Low
Docker Container Won’t Start
Symptom:docker-compose up fails with container exit code
Diagnosis:
1. Port Already in Use
2. Health Check Failing
3. Volume Mount Permissions
Cloud Run Deployment Fails
Symptom: Cloud Run deployment fails withERROR: (gcloud.run.deploy) INVALID_ARGUMENT
Common Errors:
1. Container Image Not Found
2. Service Account Permissions
3. Environment Variables Too Large
Kustomize Build Errors
Symptom:Error: accumulating resources: accumulation err='merging resources...'
Common Issues:
1. ConfigMap Generator with behavior: replace
2. Missing Base Resources
3. Duplicate Resource Names
Still Having Issues?
For more detailed deployment troubleshooting:- Kubernetes: See Pod Failures Troubleshooting
- GKE Specific: See GKE Runbooks
- EKS Specific: See EKS Runbooks
- Report Bug: Create an issue