Difficulty: Intermediate
How does service discovery work in Kubernetes?
Kubernetes uses internal DNS (CoreDNS). Every Service gets a DNS name like `<service>.<namespace>.svc.cluster.local`, which resolves to the Service's ClusterIP.
CoreDNS, DNS
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.