6 Communication in a Kubernetes cluster

This chapter covers

  • How nodes communicate via CNI and the different CNIs available
  • How Pod-to-Pod communication happens
  • Types of Services in Kubernetes and when they are used
  • Assigning IP addresses to Pods
  • Communication via DNS and how to use CoreDNS
  • Using Ingress and Ingress controllers

Many find that networking in Kubernetes is complex, but we will break it down fully in this chapter, especially since it’s 20% of the CKA exam. There are a few important concepts that will clear up a lot of confusion, and because we’ve covered how bridge networking works within containers, I think it will all start to come together. By the end of this chapter, you’ll know how Pods talk to each other within a cluster, ...

Get Acing the Certified Kubernetes Administrator Exam now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.