Chapter 7. Kubernetes Networking
This chapter will first quickly bring you up to speed concerning Kubernetes, then introduce you to the networking concepts on a high level. Then weâll jump into the deep end, looking at how container networking is realized in Kubernetes, what traffic types exist and how you can make services talk to each other within the cluster, as well as how you can get traffic into your cluster and to a specific service.
A Gentle Kubernetes Introduction
Kubernetes is an open source container orchestration system. It captures Googleâs lessons learned from running containerized workloads on Borg for more than a decade. As of early 2018 Kubernetes is considered the de facto industry standard for container orchestration, akin to the Linux kernel for the case of a single machine.
Note
Iâd argue that there are at least two significant points in time concerning the birth of Kubernetes. The first was on June 7, 2014, with Joe Bedaâs initial commit on GitHub that marked the beginning of the open sourcing of the project. The second was almost a year later, on July 20, 2015, when Google launched Kubernetes 1.0 and announced the formation of a dedicated entity to host and govern Kubernetes, the Cloud Native Computing Foundation (CNCF). As someone who was at the launch event (and party), I can tell you, thatâs certainly one way to celebrate the birth of a project.
Kubernetesâs architecture (Figure 7-1) provides support for a number of workloads, allowing ...
Get Container Networking 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.