In previous chapters, you have learned how to work with the Kubernetes Services to forward the container port internally and externally. Now, it's time to take it a step further to see how it works.
There are four networking models in Kubernetes, and we'll explore the details in the following sections:
- Container-to-container communications
- Pod-to-pod communications
- Pod-to-service communications
- External-to-internal communications