3 Installing a Multi-OS CNI Provider

 

This chapter covers

  • A walk through of the CNI networking model
  • Introducing the concept of CNI providers for both Windows and Linux
  • Installing Antrea as a CNI provider for our mixed OS cluster
  • Introducing the ordering of CNI and CRI operations

The appeal of containers to developers and operations engineers is the default isolation that they provide. However, in order to build distributed systems, we need to create portals for containers to communicate with one another. This is where Kubernetes really shines - it provides a simple and easily pluggable model that can scale to hundreds of thousands of containers running on only a small handful of machines (typically, data centers will run anywhere from 100 to 300 pods per node). The answer to how can a single node manage IP addresses for 100s or 1000s of pods, and load balance services in such an environment, lies in the way the Kubernetes networking model was designed.

3.1 The Kubernetes Networking Model

3.2 Pod networks vs. Service networks

3.2.1  Antrea and Calico give you a pod network

3.2.2  The Kube-Proxy gives you a service network

3.2.3  CNI And KubeProxy Combined give you a pod network

3.2.4  Installing an Antrea CNI agent on Windows

3.3 Installing an Antrea CNI agent on Windows

3.4 Windows Configuration Internals for Antrea

3.5 Summary