A 42-point production readiness checklist for a service about to take real traffic: ownership and on-call, probes and graceful shutdown, instrumentation, SLOs and alerts, dependency timeouts, migrations and restore, rollback, capacity, and secrets. Every line is something you can look at and mark done.
A Production Readiness Review (PRR) is a structured walkthrough of a service before it goes live, ensuring it can handle production traffic, survive failures, and be maintainable over time. It is performed when a service is feature-complete but not yet serving real users—typically after staging deployment and before the first production rollout. The PRR is not a checklist to be ticked, but a shared understanding forged through discussion, debugging, and validation.
The service’s deployment manifest must be validated against all known production criteria. For Kubernetes, the Deployment YAML must include:
apiVersion: apps/v1
kind: Deployment
metadata:
name: user-service
spec:
replicas: 4
selector:
matchLabels:
app: user-service
template:
metadata:
labels:
app: user-service
spec:
containers:
- name: app
image: registry.example.com/userservice:v1.3.0
ports:
- containerPort: 8080
resources:
requests:
memory: "256Mi"
cpu: "200m"
limits:
memory: "512Mi"
cpu: "500m"
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 3
Ensure imagePullPolicy: Always is set for all containers. imagePullSecrets must be defined and verified via kubectl get secrets.
Configuration must be loaded from a file or environment variables, and all keys must be present. Use kubectl exec to check:
kubectl exec -it user-service-789bc7d5f4 -- printenv | grep -E "(DB_HOST|REDIS_URL|LOG_LEVEL|MAX_CONCURRENT_REQUESTS)"
Values must be validated against the expected production values. A missing LOG_LEVEL results in INFO logs, not DEBUG as expected.
All secrets—database credentials, API keys, TLS certificates—must be mounted and available. Verify via:
kubectl exec -it user-service-789bc7d5f4 -- ls /etc/secrets/
kubectl exec -it user-service-789bc7d5f4 -- cat /etc/secrets/db-password
Secrets must be rotated and versioned, with a secrets.yaml file in Git that matches the Kubernetes Secret objects.
The /health endpoint must return a valid JSON response with status and details fields. The service must be reachable at the expected path and port.
{
"status": "healthy",
"details": {
"database": "up",
"cache": "up",
"dependencies": {
"auth-service": "up",
"payment-gateway": "up"
}
}
}
Use curl to test the endpoint:
curl -s http://user-service.prod.example.com:8080/health
If the status is unhealthy, details must include the name of the failing component. A 503 response with no details is a common failure mode.
The readinessProbe must be satisfied before the service accepts traffic. Test by scaling down to one replica and checking when the service becomes available.
kubectl rollout status deployment/user-service
The liveness probe must restart the container after three consecutive failures. A common mistake is setting failureThreshold: 1 but expecting a restart after one failure—this leads to false positives and unnecessary restarts.
Logs must be emitted in JSON format, not plain text. The service must write to stdout and stderr so Kubernetes can collect them.
{
"timestamp": "2025-04-05T12:34:56.789Z",
"level": "error",
"service": "user-service",
"message": "Failed to create user with ID 123",
"error": {
"code": "DB_ERROR",
"details": "Duplicate key violation on email"
}
}
Use kubectl logs to verify:
kubectl logs user-service-789bc7d5f4 --tail=50 | grep -E '"level":"error"'
Logs must be ingested into a central system (e.g., Loki, Elasticsearch) and searchable via service=user-service.
The service must expose metrics at /metrics in the Prometheus format. Verify with:
curl -s http://user-service.prod.example.com:8080/metrics | head -n 20
Expected metrics include:
http_requests_total{method="POST",status="201"} — count of successful user creationprocess_cpu_seconds_total — total CPU time per processgo_goroutines — number of active goroutinesPrometheus must scrape the service every 30 seconds, and alerting rules must be defined for high latency and error rate.
All requests must be traced through the system. The service must generate a trace-id header and include it in logs and HTTP responses.
GET /users/123 HTTP/1.1
Host: user-service.prod.example.com
trace-id: 4d3c2b1a-5e6f-7g8h-9i0j
The trace-id must be propagated through downstream services. Use curl with trace-id to verify:
curl -H "trace-id: 4d3c2b1a-5e6f-7g8h-9i0j" http://user-service.prod.example.com/users/123
The trace must be visible in a tracing system (e.g., Jaeger, OpenTelemetry) with spans for each service call.
The service must be able to start and initialize from a cold state. Verify using kubectl logs on a newly deployed pod:
kubectl logs user-service-789bc7d5f4 --previous
The logs must show:
A missing migration or a cache miss on startup is a common source of latency spikes.
The service must use connection pooling for databases and caches. Use ps aux or top to check:
kubectl exec -it user-service-789bc7d5f4 -- ps aux | grep postgres
The number of active connections to the database must be stable and not grow indefinitely. A max_connections limit that is exceeded leads to connection timeouts and 503 errors.
The service must handle SIGTERM and shut down gracefully within 30 seconds. Use kubectl rollout to verify:
kubectl rollout pause deployment/user-service
kubectl rollout resume deployment/user-service
The service must stop accepting new requests, complete in-flight requests, and close all connections before shutting down.
The database must be in a known state. Use psql to verify:
psql -h db.prod.example.com -U app_user -d users -c "SELECT version, applied_at FROM schema_migrations ORDER BY applied_at"
All migrations must be applied, and schema_migrations must be updated. A missing migration or a failed migration leads to inconsistent state and service failures.
Critical queries must use appropriate indexes. Run EXPLAIN ANALYZE on high-traffic queries:
EXPLAIN ANALYZE
SELECT * FROM users WHERE email = '[email protected]';
Expected output includes:
Index Scan on users(email)Rows: 1 (fewer than 10 expected)Execution Time: 2.3 msA full table scan on a table with 1M rows is a red flag.
The service must maintain consistency across multiple data stores. Use psql and curl to verify:
psql -d users -c "SELECT id, email, status FROM users WHERE id = 123"
# Check user in cache
redis-cli -h cache.prod.example.com get "user:123"
# Check user in external system
curl -s http://external-auth-service/users/123 | jq
All three sources must agree on email and status. A mismatch indicates a delay or failure in the sync process.
The service must be able to handle a node failure. Simulate a failure by killing a pod:
kubectl delete pod user-service-789bc7d5f4
The service must continue to serve requests with no downtime. Verify with curl and kubectl get pods over time.
The service must handle downstream failures by implementing circuit breaking and retry logic. Use curl to simulate a slow or failed dependency:
# Simulate downstream service failure
curl -X POST http://user-service.prod.example.com/users \
-H "Content-Type: application/json" \
-d '{"name": "Bob", "email": "[email protected]"}'
If the downstream service is unavailable, the response must include Retry-After and Circuit-Breaker: open headers.
The service must scale based on CPU and request rate. Use kubectl describe hpa to verify:
kubectl describe hpa user-service
Expected output includes:
Target CPU utilization: 70%Min replicas: 2, Max replicas: 20Current CPU utilization: 75%Scale up the service and verify that new pods appear and traffic is distributed evenly.
The service must serve HTTPS with valid certificates. Use curl to verify:
curl -I https://user-service.prod.example.com
Expected headers:
HTTP/2 200Content-Type: application/jsonStrict-Transport-Security: max-age=31536000; includeSubDomains; preloadX-Content-Type-Options: nosniffX-Frame-Options: DENYUse openssl to verify certificate chain and expiration:
openssl s_client -connect user-service.prod.example.com:443 -servername user-service.prod.example.com
Certificates must be renewed at least 30 days before expiry.
The service must validate JWT tokens and enforce role-based access. Use curl to test:
curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" \
http://user-service.prod.example.com/users/123
The service must return 401 for invalid tokens and 403 for unauthorized roles.
The service must be deployable via a repeatable process. Use git log and kubectl get deploy to verify:
git log --oneline -n 10
kubectl get deploy user-service -o yaml
The deployment must be triggered by a Git commit, with v1.3.0 tagged and released. The process must include a smoke test and a rollback plan.
The service must have a defined incident response procedure. The team must be able to:
A well-documented incident-response.md file must exist and be accessible.
The PRR is not a one-off event. It is a shared practice that ensures every service is ready to meet the demands of real users, from the first request to the last failure.
This page was rewritten on 18 October 2026. It replaced a templated version that was not specific to its own title. How these pages are written and checked. If anything here is wrong, tell us at [email protected] and we will correct it.
We use cookies for analytics (Google Analytics) and advertising (Google AdSense) to improve your experience and support free content. Privacy Policy