Discovering Services

In this lesson, we will go through the discovery process of Services.

Discovering Services

Services can be discovered through two principal modes:

  • Environment variables
  • DNS

Every Pod gets environment variables for each of the active Services. They are provided in the same format as what Docker links expect, as well with the simpler Kubernetes-specific syntax.

Let’s take a look at the environment variables available in one of the Pods we’re running.

Get hands-on with 1200+ tech skills courses.