This section described how kube-dns names pods and services in DNS. It is important to understand the differences between normal service and headless service to understand how to connect to your application. The StatefulSet use case was also described in the following recipe:
- Ensuring flexible usage of your containers in Chapter 3, Playing with Containers