Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 821 Bytes

K8S CNI.md

File metadata and controls

22 lines (15 loc) · 821 Bytes
title notetype date
K8S CNI
feed
03-11-2021

[[Kubernetes]] implements CNI(Container Network Interface) to allow third-party networking solutions to integrate with it.

Each CNI solution needs to implement a set of things including, but not limited to:

  • creating bridge networks
  • attaching containers to them
  • assigning IP addresses to containers
  • port forwarding

Kubernetes comes with a set of CNI plugins supported by default (BRIDGE, VLAN, IPVLAN, MACVLAN, WINDOWS). In addition to this, there are third-party plugins like Flannel, WeaveWorks and Cilium.

[[Docker Networking]] does not support CNI standard, so when Docker is used in kubernetes, containers must be created with --network none option in order to let the CNI plugin manage network for them.


Status: #💡