Back to LabsPod-to-Pod CommunicationHard
KubernetesNetworking
👥 10 users⏱ 30 min300 points
Verify and troubleshoot communication between pods in a Kubernetes cluster.
Instructions
- Deploy two pods in the same namespace.
- Test connectivity using ping or curl between pods.
- Diagnose and resolve any network issues.
Prerequisites
- Kubernetes basics
- kubectl access
Hints
- Use 'kubectl exec' to run commands inside pods.
- Check NetworkPolicies if connectivity fails.
- Use 'kubectl get pods -o wide' to see pod IPs.
Try it yourself!