Kubernetes Interview Question That Exposes Real Experience
"Your pods are running. But users can't access the app. What do you do?"
Here's how I'd answer it.
I don't start with the pod logs.
I follow the path a request takes and find where it breaks.
User → DNS → Load Balancer → Ingress → Service → Pod
1. Check if the pod is actually ready
Running is not the same as ready.
If the READY column shows 0/1, the readiness probe is failing.
Kubernetes won't send traffic to that pod.
2. Check the Service endpoints
If the Service has no endpoints, it has nowhere to send traffic.
Usually it's one of two things:
- The selector doesn't match the pod labels
- The pods aren't ready
3. Check the ports
The Service targetPort must match the port the app is listening on.
If they don't match, you get "connection refused" or 502 errors.
4. Check what the app is listening on
This one gets a lot of people.
If the app listens on 127.0.0.1, nothing outside the container can reach it.
It needs to listen on 0.0.0.0.
5. Test from inside the cluster
Spin up a temporary pod and call the Service directly.
If it works, the problem is outside the cluster: Ingress, load balancer, or DNS.
If it fails, the problem is inside: the Service, the pod, or the network.
This one test cuts the problem in half.
6. Check network policies
A deny policy can quietly drop traffic.
Everything looks healthy, but requests never reach the pod.
7. Check the edge
If everything works inside the cluster, look outward:
- Ingress rules: host, path, service name, port
- Load balancer health checks
- Security groups
- DNS records
Interviewers like this answer because
- It shows you understand how traffic flows.
- It shows you debug step by step instead of guessing, and you don't panic and redeploy.
That's how real DevOps and SRE engineers think.
Data Engineering is the backbone of data-driven systems.
Raw Data
↓
Ingest
↓
Store
↓
Process
↓
Model
↓
Orchestrate
↓
Serve
↓
Create Value
A simple roadmap to understand how raw data becomes reliable data for Analytics, AI & real-world decisions.
#Engineering#Data#Tech
विचार करून ऑफिस बॉय ठेवत जा.
अधून मधून त्याला प्यायला शे पाचशे रुपये देत जा. मध्ये मध्ये त्याला एखादी पार्टी द्यावी.
मागेल तेव्हा सुट्टया द्याव्यात नाहीतर..
ऑफिस बॉय "करेक्ट कार्यक्रम" करतात.
(जनहितार्थ जारी.)
😅😅🤣🤣😂😂😂😂