Orchestration and Kubernetes
Managing multiple containers and connecting them is known as orchestrating them. Microservices that are deployed in containers will have to orchestrate them to be sure that the multiple microservices are interconnecting.
This concept includes details such as discovering where the other containers are, dependencies between services, and generating multiple copies of the same container.
Orchestration tools are very powerful, as well as complex, and require that you become familiar with a lot of terms. To explain them fully is beyond the scope of this book, but we will point to some and give a short introduction. Please refer to the linked documentation in the sections below for more information.
There are several tools that can perform orchestration, the two most common ones being docker-compose
and Kubernetes.
docker-compose
is part of the general offering by Docker. It works very well for small deployments or local development...