SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Microservices & K8S
Iyappa (Ayyaps) Swaminathan,
Lumina Networks Inc.
Singapore
Agenda
• Microservices introduction
• Containers
• Container Management
• Kubernetes architecture
• Adoption challenges for microservices
• Container Networking
• Service Mesh
• Key Takeaways
• Experiences with ODL CNI plugins and COE
• Q&A
Microservices
Reference / Image credit : https://martinfowler.com/articles/microservices.html
Containers
• Microservices is an architectural guidance for building apps
• Apps can be built as
– Services on a single OS on a bare-metal [Issues: Services can have conflicting
library versions. Dependency management is an issue]
– Each service in a VM [Issues: Compute utilization unoptimized]
– Each service in a container
• Lightweight and isolated execution environment
• Consistent environment across development, test, staging and production
• Granular control on workload placement
• Better options for horizontal scaling
• Improved resource utilization
• Microservices does not dictate use of containers (Eg. Netflix)
– But containers are a great way to decompose large applications
The need for container management
• Services will always have failures. Create a resilient system to deal with
issues, rather than targeting to develop perfect microservice components
• “Pet” vs “Cattle” approach
• Typical management functions
– Configure / Deploy
– Upgrade
– Scale
– Discover
– Load Balance
– Network
– Decide Placement
– Federate
– Authenticate
– Predict resource
needs
– Manage life-cycle
– Manage quota
– Monitor
– Query
– Health-check
Kubernetes Architecture
Image credit : https://en.wikipedia.org/wiki/Kubernetes
kubectl
Challenges with microservices adoption
• Existing applications and VNFs almost need a rewrite/reorganize to
migrate to the microservices architecture model. Needs huge investments
• Increased East-West network traffic between components because of the
distributed model
• Difficulty in enforcing security/policy, because of the large attack surface
Container Networking - Introduction
• Single Host
– Docker models (Bridge, Host, Container)
– Linux MACVLAN / IPVLAN
– Direct attachment to SRIOV
• Multi Host
– L2 - Flannel
– L3 - Calico
• External world interaction
• IP address management
• Port allocation
Image credit : https://thenewstack.io/hackers-guide-kubernetes-networking/
Application Networking requirements
• Application networking needs (L7)
– Discover services
– Handle timeouts / retries
– Load balance / rate-limit
– Implement circuit-breakers
– Distributed tracing
• Service Mesh
– Separate network functions from business logic
– Push network-functions into infra
– Facilitates fault & latency injection
Image credit : Oreily/Nginx
Istio Architecture
Image credit : https://istio.io/docs/concepts/what-is-istio/arch.svg
Key Takeaways
• Containers are a great way to decompose large applications
• Container orchestration/management needed to operate container based
applications at scale
• Service Mesh is an essential component of microservices development
– Policy/Security
– Observability
– Uniformity
Container Networking Challenges
• Currently built for homogenous, high
throughput, enterprise-centric
application clusters
• Needs more tweaking for L2/L3 use-
cases of Telcos
• Enabling container orchestration
frameworks to access and leverage the
advanced networking capabilities of
commercial switch vendors is desirable
• Operators don't want to give up key
capabilities in one area of the system
(networking) for gains in another
(compute)
Reference / Image credit : https://github.com/ligato/networkservicemesh
Extensions to Opendaylight COE for physical underlay
Kubernetes
COE watcher
KubeletGrpc
COE CNI
OVS
Grpc
Netvirt
JSON RPC
Kubeproxy
Grpc
IPTables
Node
ODL
Fabric MNG
Ansible SALT SRIOV
HW
offload
Netconf
COE DS
VPP/Switch/TOR
Q&A
Microservices & Container Networking - OSN Days, Singapore

Weitere ähnliche Inhalte

Was ist angesagt?

Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
Majid Hajibaba
 
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Majid Hajibaba
 
Kubernetes Ingress to Service Mesh (and beyond!)
Kubernetes Ingress to Service Mesh (and beyond!)Kubernetes Ingress to Service Mesh (and beyond!)
Kubernetes Ingress to Service Mesh (and beyond!)
Christian Posta
 

Was ist angesagt? (20)

Microservices Architecture
Microservices ArchitectureMicroservices Architecture
Microservices Architecture
 
Microservice Architecture
Microservice ArchitectureMicroservice Architecture
Microservice Architecture
 
Cloud Computing Fundamentals
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing Fundamentals
 
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
 
Develop in ludicrous mode with azure serverless
Develop in ludicrous mode with azure serverlessDevelop in ludicrous mode with azure serverless
Develop in ludicrous mode with azure serverless
 
Compact models for compact devices: Visualisation of SAR using mobile apps
Compact models for compact devices: Visualisation of SAR using mobile appsCompact models for compact devices: Visualisation of SAR using mobile apps
Compact models for compact devices: Visualisation of SAR using mobile apps
 
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
 
Evaluating Streaming Data Solutions
Evaluating Streaming Data SolutionsEvaluating Streaming Data Solutions
Evaluating Streaming Data Solutions
 
Comet Cloud
Comet CloudComet Cloud
Comet Cloud
 
Micro service session 1
Micro service   session 1Micro service   session 1
Micro service session 1
 
[WSO2Con EU 2017] Creating Composite Services Using Ballerina
[WSO2Con EU 2017] Creating Composite Services Using Ballerina[WSO2Con EU 2017] Creating Composite Services Using Ballerina
[WSO2Con EU 2017] Creating Composite Services Using Ballerina
 
Micro service session 2
Micro service   session 2Micro service   session 2
Micro service session 2
 
Cloud Computing Principles and Paradigms: 5 virtual machines provisioning and...
Cloud Computing Principles and Paradigms: 5 virtual machines provisioning and...Cloud Computing Principles and Paradigms: 5 virtual machines provisioning and...
Cloud Computing Principles and Paradigms: 5 virtual machines provisioning and...
 
OpenStack at Bloomberg
OpenStack at BloombergOpenStack at Bloomberg
OpenStack at Bloomberg
 
linkerd: The Cloud Native Service Mesh
linkerd: The Cloud Native Service Meshlinkerd: The Cloud Native Service Mesh
linkerd: The Cloud Native Service Mesh
 
Navigating the Container Orchestration Maze
Navigating the Container Orchestration MazeNavigating the Container Orchestration Maze
Navigating the Container Orchestration Maze
 
API World: The service-mesh landscape
API World: The service-mesh landscapeAPI World: The service-mesh landscape
API World: The service-mesh landscape
 
Kubernetes Ingress to Service Mesh (and beyond!)
Kubernetes Ingress to Service Mesh (and beyond!)Kubernetes Ingress to Service Mesh (and beyond!)
Kubernetes Ingress to Service Mesh (and beyond!)
 
Metrics driven development with dedicated Observability Team
Metrics driven development with dedicated Observability TeamMetrics driven development with dedicated Observability Team
Metrics driven development with dedicated Observability Team
 
Microservices in Action
Microservices in ActionMicroservices in Action
Microservices in Action
 

Ähnlich wie Microservices & Container Networking - OSN Days, Singapore

Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Tony Erwin
 
TransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MSTransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MS
Lana Kalashnyk
 

Ähnlich wie Microservices & Container Networking - OSN Days, Singapore (20)

Microservices K8S
Microservices K8SMicroservices K8S
Microservices K8S
 
Concurrency at Scale: Evolution to Micro-Services
Concurrency at Scale:  Evolution to Micro-ServicesConcurrency at Scale:  Evolution to Micro-Services
Concurrency at Scale: Evolution to Micro-Services
 
Azure meetup cloud native concepts - may 28th 2018
Azure meetup   cloud native concepts - may 28th 2018Azure meetup   cloud native concepts - may 28th 2018
Azure meetup cloud native concepts - may 28th 2018
 
Kubernetes solutions
Kubernetes solutionsKubernetes solutions
Kubernetes solutions
 
Simplify Your Way To Expert Kubernetes Management
Simplify Your Way To Expert Kubernetes ManagementSimplify Your Way To Expert Kubernetes Management
Simplify Your Way To Expert Kubernetes Management
 
MicroServices architecture @ Ctrip v1.1
MicroServices architecture @ Ctrip v1.1MicroServices architecture @ Ctrip v1.1
MicroServices architecture @ Ctrip v1.1
 
Pros & Cons of Microservices Architecture
Pros & Cons of Microservices ArchitecturePros & Cons of Microservices Architecture
Pros & Cons of Microservices Architecture
 
Who Needs Network Management in a Cloud Native Environment?
Who Needs Network Management in a Cloud Native Environment?Who Needs Network Management in a Cloud Native Environment?
Who Needs Network Management in a Cloud Native Environment?
 
Kubernetes And Istio and Azure AKS DevOps
Kubernetes And Istio and Azure AKS DevOpsKubernetes And Istio and Azure AKS DevOps
Kubernetes And Istio and Azure AKS DevOps
 
Closer Look at Cloud Centric Architectures
Closer Look at Cloud Centric ArchitecturesCloser Look at Cloud Centric Architectures
Closer Look at Cloud Centric Architectures
 
Serverless microservices
Serverless microservicesServerless microservices
Serverless microservices
 
Microservices and Best Practices
Microservices and Best Practices Microservices and Best Practices
Microservices and Best Practices
 
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondEvolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
 
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
 
170215 msa intro
170215 msa intro170215 msa intro
170215 msa intro
 
Monolithic to Microservices Architecture
Monolithic to Microservices ArchitectureMonolithic to Microservices Architecture
Monolithic to Microservices Architecture
 
OIT552 Cloud Computing Material
OIT552 Cloud Computing MaterialOIT552 Cloud Computing Material
OIT552 Cloud Computing Material
 
TransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MSTransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MS
 
Accelerate DevOps/Microservices and Kubernetes
Accelerate DevOps/Microservices and KubernetesAccelerate DevOps/Microservices and Kubernetes
Accelerate DevOps/Microservices and Kubernetes
 
Microservice Architecture Patterns, by Richard Langlois P. Eng.
Microservice Architecture Patterns, by Richard Langlois P. Eng.Microservice Architecture Patterns, by Richard Langlois P. Eng.
Microservice Architecture Patterns, by Richard Langlois P. Eng.
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Microservices & Container Networking - OSN Days, Singapore

  • 1. Microservices & K8S Iyappa (Ayyaps) Swaminathan, Lumina Networks Inc. Singapore
  • 2. Agenda • Microservices introduction • Containers • Container Management • Kubernetes architecture • Adoption challenges for microservices • Container Networking • Service Mesh • Key Takeaways • Experiences with ODL CNI plugins and COE • Q&A
  • 3. Microservices Reference / Image credit : https://martinfowler.com/articles/microservices.html
  • 4. Containers • Microservices is an architectural guidance for building apps • Apps can be built as – Services on a single OS on a bare-metal [Issues: Services can have conflicting library versions. Dependency management is an issue] – Each service in a VM [Issues: Compute utilization unoptimized] – Each service in a container • Lightweight and isolated execution environment • Consistent environment across development, test, staging and production • Granular control on workload placement • Better options for horizontal scaling • Improved resource utilization • Microservices does not dictate use of containers (Eg. Netflix) – But containers are a great way to decompose large applications
  • 5. The need for container management • Services will always have failures. Create a resilient system to deal with issues, rather than targeting to develop perfect microservice components • “Pet” vs “Cattle” approach • Typical management functions – Configure / Deploy – Upgrade – Scale – Discover – Load Balance – Network – Decide Placement – Federate – Authenticate – Predict resource needs – Manage life-cycle – Manage quota – Monitor – Query – Health-check
  • 6. Kubernetes Architecture Image credit : https://en.wikipedia.org/wiki/Kubernetes kubectl
  • 7. Challenges with microservices adoption • Existing applications and VNFs almost need a rewrite/reorganize to migrate to the microservices architecture model. Needs huge investments • Increased East-West network traffic between components because of the distributed model • Difficulty in enforcing security/policy, because of the large attack surface
  • 8. Container Networking - Introduction • Single Host – Docker models (Bridge, Host, Container) – Linux MACVLAN / IPVLAN – Direct attachment to SRIOV • Multi Host – L2 - Flannel – L3 - Calico • External world interaction • IP address management • Port allocation Image credit : https://thenewstack.io/hackers-guide-kubernetes-networking/
  • 9. Application Networking requirements • Application networking needs (L7) – Discover services – Handle timeouts / retries – Load balance / rate-limit – Implement circuit-breakers – Distributed tracing • Service Mesh – Separate network functions from business logic – Push network-functions into infra – Facilitates fault & latency injection Image credit : Oreily/Nginx
  • 10. Istio Architecture Image credit : https://istio.io/docs/concepts/what-is-istio/arch.svg
  • 11. Key Takeaways • Containers are a great way to decompose large applications • Container orchestration/management needed to operate container based applications at scale • Service Mesh is an essential component of microservices development – Policy/Security – Observability – Uniformity
  • 12. Container Networking Challenges • Currently built for homogenous, high throughput, enterprise-centric application clusters • Needs more tweaking for L2/L3 use- cases of Telcos • Enabling container orchestration frameworks to access and leverage the advanced networking capabilities of commercial switch vendors is desirable • Operators don't want to give up key capabilities in one area of the system (networking) for gains in another (compute) Reference / Image credit : https://github.com/ligato/networkservicemesh
  • 13. Extensions to Opendaylight COE for physical underlay Kubernetes COE watcher KubeletGrpc COE CNI OVS Grpc Netvirt JSON RPC Kubeproxy Grpc IPTables Node ODL Fabric MNG Ansible SALT SRIOV HW offload Netconf COE DS VPP/Switch/TOR
  • 14. Q&A