SlideShare ist ein Scribd-Unternehmen logo
1 von 28
IBM Cloud / © 2018 IBM Corporation
ISTIO
A service mesh for microservices at scale
Yong Feng – ICP STSM
yongfeng@ca.ibm.com
1. Microservices Architecture
▸The Problem Space & Challenges
2. ISTIO
▸What Is It?
▸Architecture Overview
3. Demo
AGENDA
An engineering approach focused on decomposing an
application into single function modules with well defined
interfaces which are independently deployed and operated
by a small team who owns the entire lifecycle of the
service.
UI
DB DB DB
Micro
service
Micro
service
Micro
service
Micro
service
Micro
service
MICROSERVICES ARCHITECTURE
Improved delivery velocity in
exchange for increased operational
complexity.
Containers and Kubernetes are
great enablers to these design
goals: clean packaging, rapid
deployment, consistency, reliability &
scalability
This is the reality of microservices
implementation at scale.
Kubernetes and containers in of
themselves does not address these
complexity challenges
Hailo microservices
Cited from https://medium.com/@mattheath/a-long-journey-into-
a-microservice-world-a714992d2841
THE TRADE OFF
• Applications aren’t running in green-field environments
• Challenges in the network in between the Services
• Network layer is hard to manage
• Tooling is nascent
MICROSERVICES ARE HARD
Things to
consider
• Security
• Canary deployments
• A/B testing
• Circuit breaking
• Rate limiting
• Fault injection
• Tracing
• Monitoring
• Many more….
It’s doable, but…
It will require a lot of coding
Service Mesh
A dedicated infrastructure layer for managing service-
to-service communication to make it manageable,
visible and controlled
A Control Plane & Network Overlay in between the
Services
Istio
A service mesh designed to connect, manage and
secure micro services.
Using Open Source & Open Standards
(Joint project between IBM, Google, Lyft & others)
With Zero Application Code Changes
Traffic management
▸A/B tests, Canary Releases, Red/Black deployments, Circuit Breaker,
Fault Injection
Observability
▸Dependancies and traffic, Distributed Tracing, Performance metrics
Security
▸Enterprise access policy, Security policy, Certification
management
MAIN FEATURES
Proxy: Based on Envoy, mediates inbound and outbound traffic for all Istio-managed services.
Pilot: Configures Istio deployments and propagate configuration to the other components of the system.
Mixer: Responsible for policy decisions and aggregating telemetry data from the other components in the
system using a flexible plugin architecture.
Citadel: Secures the service-to-service communication and provides a key management system to manage
keys and certificates.
Data Plane: Composed of a set of
intelligent proxies (Envoy) deployed as
sidecars. These proxies mediate and
control all network communication
between microservices along with Mixer,
a general-purpose policy and telemetry
hub.
Control Plane: Manages and configures
the proxies to route traffic. Additionally,
the control plane configures Mixers to
enforce policies and collect telemetry.
ISTIO CONCEPTS
Cited from https://www.infoq.com/presentations/istio-service-mesh
https://github.com/envoyproxy/envoy
• L7 proxy and communication
bus
• Written in C++11
• Pluggable architecture (L3 and
L7)
• HTTP/1.1, HTTP/2 and gRPC
• Health checking
• L7 routing
• Advanced loadbalancer
• Dynamic configuration
• Metrics and tracing
• Battle tested at Lyft
ENVOY
SIDE CAR TECHNOLOGY OF CHOICE
• Ingress
• Gateway: configures a load balancer (one or multiple FQDN) for HTTP/TCP
traffic at the edge of the mesh
• Inside mesh
• VirtualService: defines the rules that control how requests for a service (one
or multiple FQDN) are routed.
• DestinationRule: configures the set of policies (a set of instances) to be
applied to a request after VirtualService routing has occurred
• Egress
• ServiceEntry: commonly used to enable requests to services outside of an
Istio service mesh
ROUTING CONTROL
• Maintain platform-agnostic
model of services in the
mesh
• Platform-specific adapter
implement platform specific
logic
• Service discovery
• Ingress resource
• Rule definition
• Push configuration to Envoy
and apply without restarts
TRAFFIC MANAGEMENT - PILOT
• Route to specific
version of service
• Route based on
request attribute
• …
Three versions of the service of reviews
TRAFFIC MANAGEMENT
REQUEST ROUTE (DEMO)
• Route to existing version of
service
• Route part of the request to
new version of service
• Route all the request to the
new version of service
Three versions of the service of reviews
TRAFFIC MANAGEMENT
TRAFFIC SHIFT (DEMO)
Cited from https://www.infoq.com/presentations/istio-service-mesh
• Collect metrics and logs emitted by
Envoys without instrumenting apps
• Provide a uniform abstraction
between application and infra
backend
• Adapters in the Mixer normalize and
forward to backends (monitoring,
billing …)
• Trace flow of requests across
services
• Mixer is stateless with caching and
buffering
OBSERVABILITY - MIXER
• Instrumentation
• Transport or agent
• Collector
• Storage
• API and UI
OBSERVABILITY
TRACING WITH ZIPKIN AND JAEGER
Zipkin has been replaced by Jaeger in Istio 0.8 and newer version
Application is required to collect and propagate the following headers from
the incoming request to any outgoing requests
• x-request-id
• x-b3-traceid
• x-b3-spanid
• x-b3-parentspanid
• x-b3-sampled
• x-b3-flags
• x-ot-span-context
OBSERVABILITY
TRACING WITH ZIPKIN AND JAEGER (DEMO)
• Generation of instances (in this example, metric values) from Istio attributes
• Creation of handlers (configured Mixer adapters) capable of processing generated
instances
• Dispatch of instances to handlers according to a set of rules
OBSERVABILITY
METRICS WITH MIXER + PROMETHEUS (DEMO)
Need a management service to
• Secure microservices and their communication without instrumenting apps
• ID management
• Key/cert management
• Access control
SECURITY
• Key management system
• Automate key and certificate
generation for service account
• Distribute key/certs as kuberentes
secret
• Rotate keys/certs periodically
• Revoke key/certs when required
• Self-signed (root) CA vs user
defined (root) CA
• Identity management
• Identify service by service account
in SPIFFE format
“spiffe://<domain>/ns/<namespace>/sa/<serviceaccount
>”
SECURITY
CERT MANAGEMENT - CITADEL
• Generate the config with proper information of key/certs and
secure naming information, and then pass to envoy
SECURITY
ID MANAGEMENT - PILOT
• Access control between
services
• Rule based by defining “Rule”
with “match”, “handler” and
“instance”
• RBAC based by defining
“ServiceRole” with “action”,
and defining
“ServiceRoleBinding” with
“subject” and “roleRef”
SECURITY
ACCESS CONTROL - PILOT
• Inject sidecar by leveraging MutatingAdmissionWebhook
• Manage policy and configuration by leveraging Custom Resource Definitions
• Identify account by leveraging Service Account and Secret
• Identify service by leveraging Service Discovery
KUBERNETES INTEGRATION
• 1 vCPU per peak thousand requests per second for the sidecar(s) with access
logging (which is on by default) and 0.5 without, fluentd on the node is a big
contributor to that cost as it captures and uploads logs.
• Assuming typical cache hit ratio (>80%) for mixer checks: 0.5 vCPU per peak
thousand requests per second for the mixer pods.
• Latency cost/overhead is approximately 10 millisecond for service-to-service (2
proxies involved, mixer telemetry and checks) as of 0.7.1, we expect to bring
this down to a low single digit ms.
• mTLS costs are negligible on AES-NI (aes in /proc/cpuinfo) capable hardware
in terms of both CPU and latency.
PERFORMANCE AND SCALABILITY
‣ Web istio.io
‣ Twitter: @Istiomesh
‣ Github: https://github.com/istio/istio
‣ Community Doc: https://istio.io/docs
‣ Traffic management using Istio: https://ibm.co/2F7xSnf
‣ Resiliency and fault-tolerance using Istio:
https://bit.ly/2qStF2B
‣ Reliable application roll out and operations using Istio:
https://bit.ly/2K9IRQX
USEFUL LINKS
28IBM Cloud / © 2018 IBM Corporation

Weitere ähnliche Inhalte

Was ist angesagt?

Microservices With Istio Service Mesh
Microservices With Istio Service MeshMicroservices With Istio Service Mesh
Microservices With Istio Service MeshNatanael Fonseca
 
Introduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang NguyenIntroduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang NguyenTrang Nguyen
 
Comparison of Current Service Mesh Architectures
Comparison of Current Service Mesh ArchitecturesComparison of Current Service Mesh Architectures
Comparison of Current Service Mesh ArchitecturesMirantis
 
Advanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and IstioAdvanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and IstioCloudOps2005
 
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Inc.
 
Microservices, Containers, Kubernetes, Kafka, Kanban
Microservices, Containers, Kubernetes, Kafka, KanbanMicroservices, Containers, Kubernetes, Kafka, Kanban
Microservices, Containers, Kubernetes, Kafka, KanbanAraf Karsh Hamid
 
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SREMicroservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SREAraf Karsh Hamid
 
Kubernetes Deployment Strategies
Kubernetes Deployment StrategiesKubernetes Deployment Strategies
Kubernetes Deployment StrategiesAbdennour TM
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesSlideTeam
 
knolx of KubeCost & Infracost
knolx of KubeCost & Infracostknolx of KubeCost & Infracost
knolx of KubeCost & InfracostKnoldus Inc.
 
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...Edureka!
 
ContainerDays Hamburg 2023 — Cilium Workshop.pdf
ContainerDays Hamburg 2023 — Cilium Workshop.pdfContainerDays Hamburg 2023 — Cilium Workshop.pdf
ContainerDays Hamburg 2023 — Cilium Workshop.pdfRaphaël PINSON
 
Container orchestration overview
Container orchestration overviewContainer orchestration overview
Container orchestration overviewWyn B. Van Devanter
 
Micro services vs Monolith Architecture
Micro services vs Monolith ArchitectureMicro services vs Monolith Architecture
Micro services vs Monolith ArchitectureMohamedElGohary71
 

Was ist angesagt? (20)

Istio
Istio Istio
Istio
 
Microservices With Istio Service Mesh
Microservices With Istio Service MeshMicroservices With Istio Service Mesh
Microservices With Istio Service Mesh
 
Service mesh
Service meshService mesh
Service mesh
 
Istio on Kubernetes
Istio on KubernetesIstio on Kubernetes
Istio on Kubernetes
 
Introduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang NguyenIntroduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang Nguyen
 
Comparison of Current Service Mesh Architectures
Comparison of Current Service Mesh ArchitecturesComparison of Current Service Mesh Architectures
Comparison of Current Service Mesh Architectures
 
Advanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and IstioAdvanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and Istio
 
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service Mesh
 
Microservices, Containers, Kubernetes, Kafka, Kanban
Microservices, Containers, Kubernetes, Kafka, KanbanMicroservices, Containers, Kubernetes, Kafka, Kanban
Microservices, Containers, Kubernetes, Kafka, Kanban
 
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SREMicroservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SRE
 
Kubernetes Deployment Strategies
Kubernetes Deployment StrategiesKubernetes Deployment Strategies
Kubernetes Deployment Strategies
 
Architecture: Microservices
Architecture: MicroservicesArchitecture: Microservices
Architecture: Microservices
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
knolx of KubeCost & Infracost
knolx of KubeCost & Infracostknolx of KubeCost & Infracost
knolx of KubeCost & Infracost
 
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
 
Docker Kubernetes Istio
Docker Kubernetes IstioDocker Kubernetes Istio
Docker Kubernetes Istio
 
ContainerDays Hamburg 2023 — Cilium Workshop.pdf
ContainerDays Hamburg 2023 — Cilium Workshop.pdfContainerDays Hamburg 2023 — Cilium Workshop.pdf
ContainerDays Hamburg 2023 — Cilium Workshop.pdf
 
Container orchestration overview
Container orchestration overviewContainer orchestration overview
Container orchestration overview
 
Micro services vs Monolith Architecture
Micro services vs Monolith ArchitectureMicro services vs Monolith Architecture
Micro services vs Monolith Architecture
 

Ähnlich wie ISTIO Deep Dive

Istio Triangle Kubernetes Meetup Aug 2019
Istio Triangle Kubernetes Meetup Aug 2019Istio Triangle Kubernetes Meetup Aug 2019
Istio Triangle Kubernetes Meetup Aug 2019Ram Vennam
 
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18CodeOps Technologies LLP
 
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...WSO2
 
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...apidays
 
All About Microservices and OpenSource Microservice Frameworks
All About Microservices and OpenSource Microservice FrameworksAll About Microservices and OpenSource Microservice Frameworks
All About Microservices and OpenSource Microservice FrameworksMohammad Asif Siddiqui
 
Modernizing Application Deployments with HashiCorp Consul on Microsoft Azure
Modernizing Application Deployments with HashiCorp Consul on Microsoft AzureModernizing Application Deployments with HashiCorp Consul on Microsoft Azure
Modernizing Application Deployments with HashiCorp Consul on Microsoft AzureMitchell Pronschinske
 
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
[오픈소스컨설팅] 서비스 메쉬(Service mesh)[오픈소스컨설팅] 서비스 메쉬(Service mesh)
[오픈소스컨설팅] 서비스 메쉬(Service mesh)Open Source Consulting
 
Service mesh on Kubernetes - Istio 101
Service mesh on Kubernetes - Istio 101Service mesh on Kubernetes - Istio 101
Service mesh on Kubernetes - Istio 101Huy Vo
 
Cloud native microservices for systems and applications ieee rev2
Cloud native microservices for systems and applications ieee rev2Cloud native microservices for systems and applications ieee rev2
Cloud native microservices for systems and applications ieee rev2Prem Sankar Gopannan
 
API Management Microservices beyond HIP
API Management Microservices beyond HIPAPI Management Microservices beyond HIP
API Management Microservices beyond HIPSmartWave
 
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 DevOpsOfir Makmal
 
Introduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetupIntroduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetupDaniel Ciruli
 
Open Source Networking Days- Service Mesh
Open Source Networking Days- Service MeshOpen Source Networking Days- Service Mesh
Open Source Networking Days- Service MeshCloudOps2005
 
Modern Software Architecture - Cloud Scale Computing
Modern Software Architecture - Cloud Scale ComputingModern Software Architecture - Cloud Scale Computing
Modern Software Architecture - Cloud Scale ComputingGiragadurai Vallirajan
 
Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3
Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3
Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3Ahmed Misbah
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?NGINX, Inc.
 
Service Fabric – building tomorrows applications today
Service Fabric – building tomorrows applications todayService Fabric – building tomorrows applications today
Service Fabric – building tomorrows applications todayBizTalk360
 
Service mesh in action with onap
Service mesh in action with onapService mesh in action with onap
Service mesh in action with onapHuabing Zhao
 
Service Mesh For Beginner
Service Mesh For BeginnerService Mesh For Beginner
Service Mesh For BeginnerMien Dinh
 

Ähnlich wie ISTIO Deep Dive (20)

Istio Triangle Kubernetes Meetup Aug 2019
Istio Triangle Kubernetes Meetup Aug 2019Istio Triangle Kubernetes Meetup Aug 2019
Istio Triangle Kubernetes Meetup Aug 2019
 
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
 
Predix
PredixPredix
Predix
 
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
 
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
 
All About Microservices and OpenSource Microservice Frameworks
All About Microservices and OpenSource Microservice FrameworksAll About Microservices and OpenSource Microservice Frameworks
All About Microservices and OpenSource Microservice Frameworks
 
Modernizing Application Deployments with HashiCorp Consul on Microsoft Azure
Modernizing Application Deployments with HashiCorp Consul on Microsoft AzureModernizing Application Deployments with HashiCorp Consul on Microsoft Azure
Modernizing Application Deployments with HashiCorp Consul on Microsoft Azure
 
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
[오픈소스컨설팅] 서비스 메쉬(Service mesh)[오픈소스컨설팅] 서비스 메쉬(Service mesh)
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
 
Service mesh on Kubernetes - Istio 101
Service mesh on Kubernetes - Istio 101Service mesh on Kubernetes - Istio 101
Service mesh on Kubernetes - Istio 101
 
Cloud native microservices for systems and applications ieee rev2
Cloud native microservices for systems and applications ieee rev2Cloud native microservices for systems and applications ieee rev2
Cloud native microservices for systems and applications ieee rev2
 
API Management Microservices beyond HIP
API Management Microservices beyond HIPAPI Management Microservices beyond HIP
API Management Microservices beyond HIP
 
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
 
Introduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetupIntroduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetup
 
Open Source Networking Days- Service Mesh
Open Source Networking Days- Service MeshOpen Source Networking Days- Service Mesh
Open Source Networking Days- Service Mesh
 
Modern Software Architecture - Cloud Scale Computing
Modern Software Architecture - Cloud Scale ComputingModern Software Architecture - Cloud Scale Computing
Modern Software Architecture - Cloud Scale Computing
 
Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3
Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3
Istio as an Enabler for Migrating Monolithic Applications to Microservices v1.3
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?
 
Service Fabric – building tomorrows applications today
Service Fabric – building tomorrows applications todayService Fabric – building tomorrows applications today
Service Fabric – building tomorrows applications today
 
Service mesh in action with onap
Service mesh in action with onapService mesh in action with onap
Service mesh in action with onap
 
Service Mesh For Beginner
Service Mesh For BeginnerService Mesh For Beginner
Service Mesh For Beginner
 

Mehr von Yong Feng

Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)Yong Feng
 
Cloud nativecomputingtechnologysupportinghpc cognitiveworkflows
Cloud nativecomputingtechnologysupportinghpc cognitiveworkflowsCloud nativecomputingtechnologysupportinghpc cognitiveworkflows
Cloud nativecomputingtechnologysupportinghpc cognitiveworkflowsYong Feng
 
When HPC meet ML/DL: Manage HPC Data Center with Kubernetes
When HPC meet ML/DL: Manage HPC Data Center with KubernetesWhen HPC meet ML/DL: Manage HPC Data Center with Kubernetes
When HPC meet ML/DL: Manage HPC Data Center with KubernetesYong Feng
 
Kubernetes on EGO : Bringing enterprise resource management and scheduling to...
Kubernetes on EGO : Bringing enterprise resource management and scheduling to...Kubernetes on EGO : Bringing enterprise resource management and scheduling to...
Kubernetes on EGO : Bringing enterprise resource management and scheduling to...Yong Feng
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...Yong Feng
 
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...Yong Feng
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big DataYong Feng
 
Mesos Con 2016 Optimistic Offer
Mesos Con 2016 Optimistic OfferMesos Con 2016 Optimistic Offer
Mesos Con 2016 Optimistic OfferYong Feng
 
IBM Platform Computing Products Connector for Apache Mesos
IBM Platform Computing Products Connector for Apache MesosIBM Platform Computing Products Connector for Apache Mesos
IBM Platform Computing Products Connector for Apache MesosYong Feng
 
Platform Resource Scheduler Holistic Application Policy in Heat
Platform Resource Scheduler Holistic Application Policy in HeatPlatform Resource Scheduler Holistic Application Policy in Heat
Platform Resource Scheduler Holistic Application Policy in HeatYong Feng
 

Mehr von Yong Feng (10)

Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
 
Cloud nativecomputingtechnologysupportinghpc cognitiveworkflows
Cloud nativecomputingtechnologysupportinghpc cognitiveworkflowsCloud nativecomputingtechnologysupportinghpc cognitiveworkflows
Cloud nativecomputingtechnologysupportinghpc cognitiveworkflows
 
When HPC meet ML/DL: Manage HPC Data Center with Kubernetes
When HPC meet ML/DL: Manage HPC Data Center with KubernetesWhen HPC meet ML/DL: Manage HPC Data Center with Kubernetes
When HPC meet ML/DL: Manage HPC Data Center with Kubernetes
 
Kubernetes on EGO : Bringing enterprise resource management and scheduling to...
Kubernetes on EGO : Bringing enterprise resource management and scheduling to...Kubernetes on EGO : Bringing enterprise resource management and scheduling to...
Kubernetes on EGO : Bringing enterprise resource management and scheduling to...
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
 
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
Edge 2016 SCL-2484: a software defined scalable and flexible container manage...
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big Data
 
Mesos Con 2016 Optimistic Offer
Mesos Con 2016 Optimistic OfferMesos Con 2016 Optimistic Offer
Mesos Con 2016 Optimistic Offer
 
IBM Platform Computing Products Connector for Apache Mesos
IBM Platform Computing Products Connector for Apache MesosIBM Platform Computing Products Connector for Apache Mesos
IBM Platform Computing Products Connector for Apache Mesos
 
Platform Resource Scheduler Holistic Application Policy in Heat
Platform Resource Scheduler Holistic Application Policy in HeatPlatform Resource Scheduler Holistic Application Policy in Heat
Platform Resource Scheduler Holistic Application Policy in Heat
 

Kürzlich hochgeladen

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456KiaraTiradoMicha
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyAnusha Are
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 

Kürzlich hochgeladen (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

ISTIO Deep Dive

  • 1. IBM Cloud / © 2018 IBM Corporation ISTIO A service mesh for microservices at scale Yong Feng – ICP STSM yongfeng@ca.ibm.com
  • 2. 1. Microservices Architecture ▸The Problem Space & Challenges 2. ISTIO ▸What Is It? ▸Architecture Overview 3. Demo AGENDA
  • 3. An engineering approach focused on decomposing an application into single function modules with well defined interfaces which are independently deployed and operated by a small team who owns the entire lifecycle of the service. UI DB DB DB Micro service Micro service Micro service Micro service Micro service MICROSERVICES ARCHITECTURE
  • 4. Improved delivery velocity in exchange for increased operational complexity. Containers and Kubernetes are great enablers to these design goals: clean packaging, rapid deployment, consistency, reliability & scalability This is the reality of microservices implementation at scale. Kubernetes and containers in of themselves does not address these complexity challenges Hailo microservices Cited from https://medium.com/@mattheath/a-long-journey-into- a-microservice-world-a714992d2841 THE TRADE OFF
  • 5. • Applications aren’t running in green-field environments • Challenges in the network in between the Services • Network layer is hard to manage • Tooling is nascent MICROSERVICES ARE HARD
  • 6. Things to consider • Security • Canary deployments • A/B testing • Circuit breaking • Rate limiting • Fault injection • Tracing • Monitoring • Many more….
  • 7. It’s doable, but… It will require a lot of coding
  • 8. Service Mesh A dedicated infrastructure layer for managing service- to-service communication to make it manageable, visible and controlled A Control Plane & Network Overlay in between the Services
  • 9. Istio A service mesh designed to connect, manage and secure micro services. Using Open Source & Open Standards (Joint project between IBM, Google, Lyft & others) With Zero Application Code Changes
  • 10. Traffic management ▸A/B tests, Canary Releases, Red/Black deployments, Circuit Breaker, Fault Injection Observability ▸Dependancies and traffic, Distributed Tracing, Performance metrics Security ▸Enterprise access policy, Security policy, Certification management MAIN FEATURES
  • 11. Proxy: Based on Envoy, mediates inbound and outbound traffic for all Istio-managed services. Pilot: Configures Istio deployments and propagate configuration to the other components of the system. Mixer: Responsible for policy decisions and aggregating telemetry data from the other components in the system using a flexible plugin architecture. Citadel: Secures the service-to-service communication and provides a key management system to manage keys and certificates. Data Plane: Composed of a set of intelligent proxies (Envoy) deployed as sidecars. These proxies mediate and control all network communication between microservices along with Mixer, a general-purpose policy and telemetry hub. Control Plane: Manages and configures the proxies to route traffic. Additionally, the control plane configures Mixers to enforce policies and collect telemetry. ISTIO CONCEPTS
  • 12. Cited from https://www.infoq.com/presentations/istio-service-mesh https://github.com/envoyproxy/envoy • L7 proxy and communication bus • Written in C++11 • Pluggable architecture (L3 and L7) • HTTP/1.1, HTTP/2 and gRPC • Health checking • L7 routing • Advanced loadbalancer • Dynamic configuration • Metrics and tracing • Battle tested at Lyft ENVOY SIDE CAR TECHNOLOGY OF CHOICE
  • 13. • Ingress • Gateway: configures a load balancer (one or multiple FQDN) for HTTP/TCP traffic at the edge of the mesh • Inside mesh • VirtualService: defines the rules that control how requests for a service (one or multiple FQDN) are routed. • DestinationRule: configures the set of policies (a set of instances) to be applied to a request after VirtualService routing has occurred • Egress • ServiceEntry: commonly used to enable requests to services outside of an Istio service mesh ROUTING CONTROL
  • 14. • Maintain platform-agnostic model of services in the mesh • Platform-specific adapter implement platform specific logic • Service discovery • Ingress resource • Rule definition • Push configuration to Envoy and apply without restarts TRAFFIC MANAGEMENT - PILOT
  • 15. • Route to specific version of service • Route based on request attribute • … Three versions of the service of reviews TRAFFIC MANAGEMENT REQUEST ROUTE (DEMO)
  • 16. • Route to existing version of service • Route part of the request to new version of service • Route all the request to the new version of service Three versions of the service of reviews TRAFFIC MANAGEMENT TRAFFIC SHIFT (DEMO)
  • 17. Cited from https://www.infoq.com/presentations/istio-service-mesh • Collect metrics and logs emitted by Envoys without instrumenting apps • Provide a uniform abstraction between application and infra backend • Adapters in the Mixer normalize and forward to backends (monitoring, billing …) • Trace flow of requests across services • Mixer is stateless with caching and buffering OBSERVABILITY - MIXER
  • 18. • Instrumentation • Transport or agent • Collector • Storage • API and UI OBSERVABILITY TRACING WITH ZIPKIN AND JAEGER
  • 19. Zipkin has been replaced by Jaeger in Istio 0.8 and newer version Application is required to collect and propagate the following headers from the incoming request to any outgoing requests • x-request-id • x-b3-traceid • x-b3-spanid • x-b3-parentspanid • x-b3-sampled • x-b3-flags • x-ot-span-context OBSERVABILITY TRACING WITH ZIPKIN AND JAEGER (DEMO)
  • 20. • Generation of instances (in this example, metric values) from Istio attributes • Creation of handlers (configured Mixer adapters) capable of processing generated instances • Dispatch of instances to handlers according to a set of rules OBSERVABILITY METRICS WITH MIXER + PROMETHEUS (DEMO)
  • 21. Need a management service to • Secure microservices and their communication without instrumenting apps • ID management • Key/cert management • Access control SECURITY
  • 22. • Key management system • Automate key and certificate generation for service account • Distribute key/certs as kuberentes secret • Rotate keys/certs periodically • Revoke key/certs when required • Self-signed (root) CA vs user defined (root) CA • Identity management • Identify service by service account in SPIFFE format “spiffe://<domain>/ns/<namespace>/sa/<serviceaccount >” SECURITY CERT MANAGEMENT - CITADEL
  • 23. • Generate the config with proper information of key/certs and secure naming information, and then pass to envoy SECURITY ID MANAGEMENT - PILOT
  • 24. • Access control between services • Rule based by defining “Rule” with “match”, “handler” and “instance” • RBAC based by defining “ServiceRole” with “action”, and defining “ServiceRoleBinding” with “subject” and “roleRef” SECURITY ACCESS CONTROL - PILOT
  • 25. • Inject sidecar by leveraging MutatingAdmissionWebhook • Manage policy and configuration by leveraging Custom Resource Definitions • Identify account by leveraging Service Account and Secret • Identify service by leveraging Service Discovery KUBERNETES INTEGRATION
  • 26. • 1 vCPU per peak thousand requests per second for the sidecar(s) with access logging (which is on by default) and 0.5 without, fluentd on the node is a big contributor to that cost as it captures and uploads logs. • Assuming typical cache hit ratio (>80%) for mixer checks: 0.5 vCPU per peak thousand requests per second for the mixer pods. • Latency cost/overhead is approximately 10 millisecond for service-to-service (2 proxies involved, mixer telemetry and checks) as of 0.7.1, we expect to bring this down to a low single digit ms. • mTLS costs are negligible on AES-NI (aes in /proc/cpuinfo) capable hardware in terms of both CPU and latency. PERFORMANCE AND SCALABILITY
  • 27. ‣ Web istio.io ‣ Twitter: @Istiomesh ‣ Github: https://github.com/istio/istio ‣ Community Doc: https://istio.io/docs ‣ Traffic management using Istio: https://ibm.co/2F7xSnf ‣ Resiliency and fault-tolerance using Istio: https://bit.ly/2qStF2B ‣ Reliable application roll out and operations using Istio: https://bit.ly/2K9IRQX USEFUL LINKS
  • 28. 28IBM Cloud / © 2018 IBM Corporation

Hinweis der Redaktion

  1. Thing to keep in mind It’s not about technology. It’s about people, processes and culture
  2. Docker
  3. IBM’s Amalgam8 project is a unified service mesh that provides a traffic routing fabric with a programmable control plane to help internal and enterprise customers with A/B testing, canary releases, and to systematically test the resilience of services against failures. Google’s Service Control provides a service mesh with a control plane that focuses on enforcing policies such as ACLs, rate limits, and authentication in addition to gathering telemetry data from various services and proxies. Lyft developed the Envoy proxy to aid its microservices journey, which brought the company from a monolithic app to a production system spanning 10,000 or more VMs handling 100 or more microservices.
  4. ISTIO delivers the needed functions for inflight changes, improved resiliency and policy enforcement.
  5. ISTIO delivers the needed functions for inflight changes, improved resiliency and policy enforcement.
  6. https://github.com/istio/istio/wiki/Proxy-redirection https://github.com/istio/istio/blob/master/tools/deb/istio-iptables.sh https://github.com/istio/istio/blob/master/pilot/docker/Dockerfile.proxy_init Inbound: iptables -t nat -A PREROUTING -p tcp -j REDIRECT --to-port ${ISTIO_PROXY_PORT} Outbound: iptables -t nat -A OUTPUT -p tcp -j REDIRECT ! -s 127.0.0.1/32 \ --to-port ${ISTIO_PROXY_PORT} -m owner '!' --uid-owner ${ISTIO_PROXY_UID}
  7. https://istio.io/docs/concepts/traffic-management/
  8. ISTIO delivers the needed functions for inflight changes, improved resiliency and policy enforcement.
  9. https://developer.ibm.com/code/patterns/manage-microservices-traffic-using-istio/ https://github.com/IBM/microservices-traffic-management-using-istio
  10. https://developer.ibm.com/code/patterns/manage-microservices-traffic-using-istio/ https://github.com/IBM/microservices-traffic-management-using-istio
  11. Mixer collects metrics emitted by Envoys Adapters in the Mixer normalize and forward to backends (monitoring, billing …) Metrics backend can be swapped at runtime Mixer is stateless with caching and buffering Mixer as an intermediation layer allows operators to have fine-grained control over all interactions https://developer.ibm.com/code/patterns/manage-microservices-traffic-using-istio/ https://github.com/IBM/microservices-traffic-management-using-istio
  12. https://istio.io/docs/concepts/policies-and-telemetry/overview/
  13. https://istio.io/docs/tasks/telemetry/distributed-tracing/ mixer/pkg/runtime/dispatcher/ pkg/tracing
  14. https://istio.io/docs/concepts/security/ https://github.com/istio/istio/tree/master/security Citadel: Key management system Automate key and certificate generation for service account Distribute key/certs as kuberentes secret Rotate keys/certs periodically Revoke key/certs when required Self-signed (root) CA vs user defined (root) CA Identity management Identify service by service account in SPIFFE format “spiffe://<domain>/ns/<namespace>/sa/<serviceaccount>” Pilot: Generate the config with proper information of key/certs and secure naming information, and then pass to envoy Access control between services Rule based by defining “Rule” with “match”, “handler” and “instance” RBAC based by defining “ServiceRole” with “action”, and defining “ServiceRoleBinding” with “subject” and “roleRef”
  15. https://github.com/istio/istio/tree/master/security
  16. https://github.com/istio/istio/tree/master/security
  17. https://istio.io/docs/ https://medium.com/ibm-cloud/tagged/istio
  18. https://istio.io/docs/performance-and-scalability/overview/