Configuring Microservices with Kubernetes

In this chapter, we're moving into the practical and real-world area of microservices configuration. Configuration is a big part of building complex distributed systems. In general, configuration concerns any aspect of the system that the code should be aware of, but that isn't encoded in the code itself. Here are the topics we will discuss in this chapter:

  • What is configuration all about?
  • Managing configuration the old-fashioned way
  • Managing configuration dynamically
  • Configuring microservices with Kubernetes

By the end of this chapter, you will have a solid understanding of the value of configuration. You will also have learned the many ways to configure software both statically and dynamically, as well as the special configuration options that Kubernetes provides (one of its best features). You will have also gained the insights and knowledge to benefit from the flexibility and control Kubernetes provides you as a developer and operator.