Contiv provides a higher level of networking abstraction for microservices: it provides built-in service discovery and service routing for scale out services, working with schedulers like Docker Swarm, Kubernetes, Mesos and Nomad. We will see some code examples, basic use cases and an easy tutorial on the web.
Similar to Microservices and containers networking: Contiv, an industry leading open source solution from Cisco - Luca Relandini - Codemotion Rome 2017
Cisco connect montreal 2018 vision mondiale analyse localeCisco Canada
Similar to Microservices and containers networking: Contiv, an industry leading open source solution from Cisco - Luca Relandini - Codemotion Rome 2017 (20)
An endpoint is container's interface into a network
A network is collection of arbitrary endpoints
A container can belong to multiple endpoints (and therefore multiple networks)
CNM allows for co-existence of multiple drivers, with a network managed by one driver
Provides Driver APIs for IPAM and Endpoint creation/deletion
IPAM Driver APIs: Create/Delete Pool, Allocate/Free IP Address
Network Driver APIs: Network Create/Delete, Endpoint Create/Delete/Join/Leave
Used by docker engine, docker swarm, and docker compose
Also works with other schedulers that runs standard docker containers e.g. Nomad or Mesos docker containerizer
Provide Container Create/Delete events
Provides access to network namespace to the driver to plumb networking
Provides container id (uuid) for which network interface is being created
No separate IPAM Driver
Container Create returns the IAPM information along with other data
Used by Kubernetes i.e. supported by various Kubernetes network plugins
n/w enables decomposition of applications, allowing them to run across a cluster as if it was a single machine
container technology makes this easier
easier leads to more adoption, hence more network traffic
managing the app requires managing the n/w!
App person – hook up the components of my app so it works
Ops person – make sure an app does not bring down my dc!
Developer defines app blue print
Ops sets the policy
Scheduler/framework keeps the components running
Contiv keeps the components connected, according to the policy
All of these need to be in sync
Add simplification of installer, documentation, OpenShift below Docker – One click install, 100% open source