contiv kubernetes-microservices-feb25-v0.3
TRANSCRIPT
Scaling Microservices withContiv
contiv.io@projectcontiv
Sukhesh Halemane Github @shaleman
Joji Mekkattuparamban Github @jojimt
•Microservices scale Challenge• Project Contiv• Demo
Agenda
contiv.io
Microservice explosion
500+ microservices450 microservices 500+ microservices
Source:Netflix: http://www.slideshare.net/BruceWong3/the-case-for-chaosTwitter: https://twitter.com/adrianco/status/441883572618948608Hail-o: https://sudo.hailoapp.com/services/2015/03/09/journey-into-a-microservice-world-part-3/
• Hide infrastructure complexity from applications• No more Vlan, Vxlan, VTEP, Spanning tree, Vlan stitching
contiv: Networking for Microservice
Virtual Network Per Tenant
Org 1
Org 2
Segment per Microservice
Network based service routing
Segment 1Srv1
Segment 2Srv2 Srv2 Srv2
Srv1 Srv1
Service
Security Policies
Number of IP table rules increase exponentially as microservices scale out
Scaling security policies
1 2 3 4 5 60
2000
4000
6000
8000
10000
12000
14000
16000
18000
20000
Contiv IP tables
Number of Microservices
Scale out# of instances
Contiv# of rules
IP table # of rules
50 1500 500
50 2500 2000
50 3500 4500
50 4500 8000
50 5500 12500
50 6500 18000
Contiv Network Performance
Special thanks to: Leslie Qi WangSource: https://communities.cisco.com/community/developer/opensource/blog/2016/02/03/docker-overlay-network-performance-comparison--bare-metal
Performance at Scale
HW configuration: 2x UCS C240 servers with 2s socket, 12 core Intel Xeon E5 cpu each, 192G DRAM, 1x10G NIC.1x Nexus 9000 series switch
0 100 1000 50000
1000000000
2000000000
3000000000
4000000000
5000000000
6000000000
7000000000
8000000000
9000000000
10000000000
Throughput
Throughput
Number of Security Rules
Demo
Contiv + K8S Demo Topology
k8master
Contiv Master
Kubernetes Master / API
Server
etcd
k8ode01
Contiv Netplugin Kubelet
Srv1 Srv2 Srv3 Srv4
etcd
Docker
k8node02
Contiv Netplugin
Kubelet
Srv1 Srv2 Srv3 Srv4
etcd
Docker
Contiv Virtual Network
Thank you
contiv.io
@abhinandanpb @DivyaVavili @erikh
@jainvipin @jojimt @mapuri
@shaleman @unclejack @vvb
Find us on Github
@vishal-j