Summary
This chapter was quite a long one, but you should now have a good understanding of what Pods are and how to use them, especially when it comes to managing multiple containers in the same Pod.
We recommend that you focus on mastering the declarative way of creating Kubernetes resources. As you have noticed in this chapter, the key to achieving the most complex things with Kubernetes resides in writing YAML files. One example is that you simply cannot easily create a multi-container Pod without writing YAML files.
This chapter complements the previous one: Chapter 4, Running Your Containers in Kubernetes. You need to understand that everything we will do with Kubernetes will be Pod management because everything in Kubernetes revolves around them. Keep in mind that containers are never created directly, but always through a Pod object, and that all the containers within the same Pod are created on the same Kubernetes node. If you understand that, then you can continue...