# Service Discovery

> How does service discovery work inside a Kubernetes cluster? How does one Pod find and talk to another service?

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-service-discovery
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

How does service discovery work inside a Kubernetes cluster? How does one Pod find and talk to another service?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

CoreDNS, ClusterIP, Headless Service, EndpointSlice, resolv.conf search domains

Previous: [Static Pods](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-static-pods) · Next: [Init Containers](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-init-containers) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Soft vs. Hard Affinity](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-affinity-soft-hard)
- [Metrics Server](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-metric-server-role)
- [Checking Resource Usage](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-kubectl-top)
- [Pod Eviction](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pod-eviction)
- [PVC Access Modes](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pvc-access-modes)
- [Secret Security](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-secret-security)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
