Bird
0
0

A developer reports that after switching from a library-based approach to a service mesh, some service calls fail. What is a likely debugging step?

medium📝 Troubleshoot Q7 of 15
Kubernetes - Service Mesh
A developer reports that after switching from a library-based approach to a service mesh, some service calls fail. What is a likely debugging step?
AAdd the communication library back into the application code
BVerify that sidecar proxies are running and healthy in pods
CDisable Kubernetes network policies to allow traffic
DRestart the Kubernetes API server
Step-by-Step Solution
Solution:
  1. Step 1: Check sidecar proxy status

    Service mesh relies on sidecar proxies; if they are not running or unhealthy, service calls fail.
  2. Step 2: Rule out unrelated fixes

    Adding libraries is unnecessary; network policies and API server restarts are less likely causes.
  3. Final Answer:

    Verify that sidecar proxies are running and healthy in pods -> Option B
  4. Quick Check:

    Sidecar health is key for service mesh communication [OK]
Quick Trick: Check sidecar proxy health when service mesh calls fail [OK]
Common Mistakes:
  • Re-adding libraries after switching to service mesh
  • Ignoring sidecar container status
  • Restarting unrelated Kubernetes components

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes