Discovering a federated service
Kubernetes provides KubeDNS as a built-in core component. KubeDNS uses a cluster-local DNS server as well as naming conventions to compose well-qualified (by namespace) DNS names conventions. For example, the-service is resolved to the the-service service in the default namespace, while the-service.the-namespace is resolved to the service called the-service in the the-namespace namespace, which is separate from the default the-service. Pods can find and access internal services easily with KubeDNS. Kubernetes cluster federation extends the mechanism to multiple clusters. The basic concept is the same, but another level of a federation is added. The DNS name of a service now consists of <service name>.<namespace ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access