DNS

Learn about the DNS service discovery mechanism.

We'll cover the following...

Kubernetes provides two different service discovery mechanisms: DNS and injected environment variables.

Introduction to DNS

Kubernetes provides an out-of-the boxIt’s actually provided by an add-on, but I have never seen an installation that doesn’t include it, so we can assume it will be available for us., a DNS service to resolve service names. Here’s how it works: If you create a service called service-a, ...