containerd provides the low-level functionality that enables the Docker Engine to run containers. containerd events provide a simple, yet powerful mechanism to integrate with virtually any other system with minimal effort. This talk will cover what containerd events are and how to use them for integration with systems ranging from monitoring and logging to container networking using CNI (Container Network Interface) plugins.
16. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
containerd: networking
17. CNI is a specification and set of libraries for creating
plugins to configure network interfaces in Linux
containers.
container networking initiative
18. Builtin
● bridge
● ipvlan
● loopback
● macvlan
● ptp
container networking initiative
available plugins
Third Party
● Project Calico
● Weave
● Contiv
● Infoblox
● ...more
21. ● manages cni networks
● standard cli for operations
○ connect, disconnect, view
containerd: networking
cni management via circuit
22.
23. ● receives “START” event
● uses cni to connect container to
network
● upon “EXIT” event, removes container
from network
containerd: networking
automatic container networking with events and circuit