Summary
With that, we’ve reached the end of the Kubernetes part – well done!
Remember – the more hands-on you get, the faster you’ll learn and understand Kubernetes and its concepts. If some points still feel a bit blurry, that is fine. You can always go back and read some parts again and check the Further reading sections at the end of each chapter. Refer to the official Kubernetes documentation at https://kubernetes.io/docs/home/ if you have any questions.
This chapter discussed which three types of network communication happen in a Kubernetes cluster and that by default, there is nothing restricting communication between two pods in the cluster. Therefore, it is a good idea to use network policies in order to only allow required communication and deny the rest for security reasons. Not all CNI providers support network policies, therefore make sure to check that when planning a Kubernetes installation.
Every new pod in the cluster automatically...