Debug a Non-Responsive Service
intermediate
25 minInstructions
You're on call. The frontend application in namespace prod
is failing with 502 errors.
Your objective:
- Identify the cause (Service? Endpoint? Pod? NetworkPolicy?).
- Fix the issue so that
curl backend-service:5000/health
succeeds from the frontend pod.
Constraints:
- Do not delete the service.
- Only patch or replace resources.
Hint: use kubectl exec
, describe
and logs
smartly.