concept dns in category docker

appears as: DNS, DNS
Bootstrapping Microservices with Docker, Kubernetes and Terraform

This is an excerpt from Manning's book Bootstrapping Microservices with Docker, Kubernetes and Terraform.

We could have stored the files and data for our application in the Kubernetes cluster, but I prefer my production cluster to be stateless. That means I can destroy and rebuild the cluster at will without any risk of losing the data. Later this enables us to use blue-green deployment for our production rollouts which we’ll talk about in chapter 11. That means we build a new and updated instance of our application that runs in parallel with the previous version.

Figure 5.8. HTTP requests are routed through domain name system (DNS) lookup to translate the hostname of the target microservice to an internet protocol (IP) address