SlideShare a Scribd company logo
1 of 36
Service Mesh Interface
Atlanta Meetup
Barry Williams
● 17+ years in Software Engineering - DevOps
focus
● Started off using Cloud Foundry
● Responsible for automated deployment of
ELK stack on Kubernetes at AT&T
● Father of four girls
● Enjoy electronic music, smoked BBQ, and
homemade rockets altoros.com
altoros.com/blog
twitter.com/altoros
SERVICE MESH INTERFACE
What is a service mesh?
What is the Service Mesh Interface?
SMI Spec
Current Implementations
SERVICE MESH
SERVICE MESH
“Keep your endpoints smart and your pipes dumb”
Becomes
“Keep your endpoints simple and your pipes smart”
SERVICE MESH
Service Discovery
Routing and Traffic Configuration
Encryption and Authentication/Authorization
Metrics and Monitoring
Source: Wikipedia
SERVICE MESH
Enterprise Service Bus
SERVICE MESH
INTERFACE
SERVICE MESH INTERFACE
Project from Deislabs at Microsoft
Initial Commit March 2019
SERVICE MESH INTERFACE
Traffic Access Control
Traffic Specs
Traffic Split
Traffic Metrics
SERVICE MESH INTERFACE
Flagger Kiali Kubecost
SERVICE MESH INTERFACE
How to integrate?
- Implement SMI directly
- Implement an Adapter
SMI SPEC
TRAFFIC ACCESS
CONTROL
SMI SPEC - TRAFFIC ACCESS CONTROL
Backend
Frontend
SMI SPEC - TRAFFIC ACCESS CONTROL
Frontend
Backend
/metrics
TrafficTarget
Source
Spec
(HTTPRouteGroup)
Destination
TRAFFIC TARGET
---
kind: TrafficTarget
apiVersion: access.smi-spec.io/v1alpha1
metadata:
name: backend-spec
namespace: default
sources:
- kind: ServiceAccount
name: frontend-sa
namespace: default
specs:
- kind: HTTPRouteGroup
name: backend-routes
matches:
- metrics
destination:
kind: ServiceAccount
name: backend-sa
namespace: default
port: 8080
TRAFFIC SPEC
SMI SPEC - TRAFFIC SPEC
Name
GET
PUT
POST
/metrics
Methods PathRegex
“metrics”
HTTP ROUTE GROUP
apiVersion: v1beta1
kind: HTTPRouteGroup
metadata:
name: the-routes
matches:
- name: metrics
pathRegex: "/metrics"
methods:
- GET
- name: everything
pathRegex: ".*"
methods: ["*"]
TRAFFIC SPLIT
SMI SPEC - TRAFFIC SPLIT
Frontend
Frontend-v1 Frontend-v2
90 10
Root Service
Old
Service
New
Service
Weights
TRAFFIC SPLIT
apiVersion: split.smi-spec.io/v1alpha1
kind: TrafficSplit
metadata:
name: frontend-rollout
spec:
service: frontend
backends:
- service: frontend-v1
weight: 900m
- service: frontend-v2
weight: 100m
TRAFFIC METRICS
SMI SPEC - TRAFFIC METRICS
Backend Pod
Resource Edge
To
From
Frontend Pod
TRAFFIC METRICS
apiVersion: metrics.smi-spec.io/v1alpha1
kind: TrafficMetrics
metadata:
name: my-metric
resource:
name: backend-775b9cbd88-ntxsl
namespace: default
kind: Pod
edge:
direction: to
resource:
name: frontend-577db7d977-lsk2q
namespace: default
kind: Pod
timestamp: 2019-06-08T22:25:55Z
window: 30s
Metrics:
...
TRAFFIC METRICS
metrics:
- name: p99_response_latency
unit: seconds
value: 10m
- name: p90_response_latency
unit: seconds
value: 10m
- name: p50_response_latency
unit: seconds
value: 10m
- name: success_count
value: 100
- name: failure_count
value: 100
SMI SPEC - TRAFFIC METRICS
TRAFFIC METRICS LIST
apiVersion: metrics.smi-spec.io/v1alpha1
kind: TrafficMetricsList
resource:
name: backend-775b9cbd88-ntxsl
namespace: default
kind: Pod
selector:
matchLabels:
app: foo
items:
...
CURRENT
IMPLEMENTATIONS
CURRENT IMPLEMENTATIONS
● Traffic Access Control
CURRENT IMPLEMENTATIONS
● Traffic Metrics
● Traffic Split (Coming Soon)
CURRENT IMPLEMENTATIONS
Adapter
● Operator for Traffic Split
MY THOUGHTS
QUESTIONS?
THANK YOU

More Related Content

What's hot

Serverless operations for the iRobot fleet
Serverless operations for the iRobot fleetServerless operations for the iRobot fleet
Serverless operations for the iRobot fleetBen Kehoe
 
apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...
apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...
apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...apidays
 
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...apidays
 
Advanced Event Brokers
Advanced Event BrokersAdvanced Event Brokers
Advanced Event BrokersSolace
 
Advanced Event Brokers
Advanced Event BrokersAdvanced Event Brokers
Advanced Event BrokersNick Donaldson
 
Amazon Time Sync Service now makes it easier to generate and compare timestamps
Amazon Time Sync Service now makes it easier to generate and compare timestampsAmazon Time Sync Service now makes it easier to generate and compare timestamps
Amazon Time Sync Service now makes it easier to generate and compare timestampsDhaval Soni
 
APIdays Paris 2018 - Make a building smart with API and serverless microservi...
APIdays Paris 2018 - Make a building smart with API and serverless microservi...APIdays Paris 2018 - Make a building smart with API and serverless microservi...
APIdays Paris 2018 - Make a building smart with API and serverless microservi...apidays
 
ACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWS
ACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWSACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWS
ACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWSAWS User Group Kochi
 
Beyond the radio: Exploring the terra incognita of mobile networks with the I...
Beyond the radio: Exploring the terra incognita of mobile networks with the I...Beyond the radio: Exploring the terra incognita of mobile networks with the I...
Beyond the radio: Exploring the terra incognita of mobile networks with the I...APNIC
 
Sustainable Organization and the Impact of Cloud Transformation on Business O...
Sustainable Organization and the Impact of Cloud Transformation on Business O...Sustainable Organization and the Impact of Cloud Transformation on Business O...
Sustainable Organization and the Impact of Cloud Transformation on Business O...Amazon Web Services
 
BT "cloud of clouds" vision
BT "cloud of clouds" visionBT "cloud of clouds" vision
BT "cloud of clouds" visionMarco Verzellino
 
Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018
Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018
Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018Codemotion
 
Connected vehicle mobility as a service (maas)
Connected vehicle mobility as a service (maas)Connected vehicle mobility as a service (maas)
Connected vehicle mobility as a service (maas)Elias Hasnat
 
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)3scale
 
Smart City IoT Solution Improved
Smart City IoT Solution ImprovedSmart City IoT Solution Improved
Smart City IoT Solution ImprovedElias Hasnat
 
Beyond the Radio: Exploring the terra incognita of mobile networks with the I...
Beyond the Radio: Exploring the terra incognita of mobile networks with the I...Beyond the Radio: Exploring the terra incognita of mobile networks with the I...
Beyond the Radio: Exploring the terra incognita of mobile networks with the I...Narseo Rodriguez
 
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...apidays
 

What's hot (20)

Serverless operations for the iRobot fleet
Serverless operations for the iRobot fleetServerless operations for the iRobot fleet
Serverless operations for the iRobot fleet
 
ECI OVUM Webinar-Cloud Revenue Opportunities-Feb 2016
ECI OVUM Webinar-Cloud Revenue Opportunities-Feb 2016ECI OVUM Webinar-Cloud Revenue Opportunities-Feb 2016
ECI OVUM Webinar-Cloud Revenue Opportunities-Feb 2016
 
apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...
apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...
apidays LIVE Paris 2021 - Don’t put all of your APIs in one cloud by Adrien V...
 
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
 
Advanced Event Brokers
Advanced Event BrokersAdvanced Event Brokers
Advanced Event Brokers
 
Advanced Event Brokers
Advanced Event BrokersAdvanced Event Brokers
Advanced Event Brokers
 
Amazon Time Sync Service now makes it easier to generate and compare timestamps
Amazon Time Sync Service now makes it easier to generate and compare timestampsAmazon Time Sync Service now makes it easier to generate and compare timestamps
Amazon Time Sync Service now makes it easier to generate and compare timestamps
 
APIdays Paris 2018 - Make a building smart with API and serverless microservi...
APIdays Paris 2018 - Make a building smart with API and serverless microservi...APIdays Paris 2018 - Make a building smart with API and serverless microservi...
APIdays Paris 2018 - Make a building smart with API and serverless microservi...
 
ACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWS
ACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWSACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWS
ACDKOCHI19 - Rapid development, CI/CD for Chatbots on AWS
 
Beyond the radio: Exploring the terra incognita of mobile networks with the I...
Beyond the radio: Exploring the terra incognita of mobile networks with the I...Beyond the radio: Exploring the terra incognita of mobile networks with the I...
Beyond the radio: Exploring the terra incognita of mobile networks with the I...
 
Sustainable Organization and the Impact of Cloud Transformation on Business O...
Sustainable Organization and the Impact of Cloud Transformation on Business O...Sustainable Organization and the Impact of Cloud Transformation on Business O...
Sustainable Organization and the Impact of Cloud Transformation on Business O...
 
Colt Optical SDN Innovation
Colt Optical SDN InnovationColt Optical SDN Innovation
Colt Optical SDN Innovation
 
BT "cloud of clouds" vision
BT "cloud of clouds" visionBT "cloud of clouds" vision
BT "cloud of clouds" vision
 
Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018
Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018
Cory Guynn - API Magic and Applications on the Network - Codemotion Milan 2018
 
Connected vehicle mobility as a service (maas)
Connected vehicle mobility as a service (maas)Connected vehicle mobility as a service (maas)
Connected vehicle mobility as a service (maas)
 
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
 
Smart City IoT Solution Improved
Smart City IoT Solution ImprovedSmart City IoT Solution Improved
Smart City IoT Solution Improved
 
SDN/NFV architecture vision and reality
SDN/NFV architecture vision and reality SDN/NFV architecture vision and reality
SDN/NFV architecture vision and reality
 
Beyond the Radio: Exploring the terra incognita of mobile networks with the I...
Beyond the Radio: Exploring the terra incognita of mobile networks with the I...Beyond the Radio: Exploring the terra incognita of mobile networks with the I...
Beyond the Radio: Exploring the terra incognita of mobile networks with the I...
 
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
 

Similar to Atlanta Meetup on Service Mesh Interface

SOA e IMS (NGN)
SOA e IMS (NGN)SOA e IMS (NGN)
SOA e IMS (NGN)Davi Silva
 
Three Innovations that Define a “Next-Generation Global Transit Hub”
Three Innovations that Define a “Next-Generation Global Transit Hub”Three Innovations that Define a “Next-Generation Global Transit Hub”
Three Innovations that Define a “Next-Generation Global Transit Hub”Khash Nakhostin
 
2016 06 - design your api management strategy - axway - Api Management
2016 06 - design your api management strategy - axway - Api Management2016 06 - design your api management strategy - axway - Api Management
2016 06 - design your api management strategy - axway - Api ManagementSmartWave
 
Introduction to AWS App Mesh - MAD303 - Atlanta AWS Summit
Introduction to AWS App Mesh - MAD303 - Atlanta AWS SummitIntroduction to AWS App Mesh - MAD303 - Atlanta AWS Summit
Introduction to AWS App Mesh - MAD303 - Atlanta AWS SummitAmazon Web Services
 
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays
 
Oracle Developer Meetup March 2018
Oracle Developer Meetup March 2018Oracle Developer Meetup March 2018
Oracle Developer Meetup March 2018Phil Wilkins
 
Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?Kai Wähner
 
What all it takes to build a successful hybrid integration strategy?
What all it takes to build a successful hybrid integration strategy? What all it takes to build a successful hybrid integration strategy?
What all it takes to build a successful hybrid integration strategy? Kellton Tech Solutions Ltd
 
xConf-2022-api-gateway-service-mesh.pdf
xConf-2022-api-gateway-service-mesh.pdfxConf-2022-api-gateway-service-mesh.pdf
xConf-2022-api-gateway-service-mesh.pdfWesley Reisz
 
SDN in the Enterprise: APIC Enterprise Module
SDN in the Enterprise:  APIC Enterprise Module SDN in the Enterprise:  APIC Enterprise Module
SDN in the Enterprise: APIC Enterprise Module Cisco Canada
 
Building enterprise depth APIs with the IBM hybrid integration portfolio
Building enterprise depth APIs with the IBM hybrid integration portfolioBuilding enterprise depth APIs with the IBM hybrid integration portfolio
Building enterprise depth APIs with the IBM hybrid integration portfolioKim Clark
 
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...Amazon Web Services
 
Public v1 real world example of azure functions serverless conf london 2016
Public v1 real world example of azure functions serverless conf london 2016 Public v1 real world example of azure functions serverless conf london 2016
Public v1 real world example of azure functions serverless conf london 2016 Yochay Kiriaty
 
Building a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istioBuilding a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istioSAMIR BEHARA
 
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS SummitManaging microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS SummitAmazon Web Services
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationPace Integration
 
Chaos engineering in the cloud
Chaos engineering in the cloudChaos engineering in the cloud
Chaos engineering in the cloudYuval Birenboum
 
Testing IoT Apps with the Cloud
Testing IoT Apps with the CloudTesting IoT Apps with the Cloud
Testing IoT Apps with the CloudJosiah Renaudin
 

Similar to Atlanta Meetup on Service Mesh Interface (20)

SOA e IMS (NGN)
SOA e IMS (NGN)SOA e IMS (NGN)
SOA e IMS (NGN)
 
Three Innovations that Define a “Next-Generation Global Transit Hub”
Three Innovations that Define a “Next-Generation Global Transit Hub”Three Innovations that Define a “Next-Generation Global Transit Hub”
Three Innovations that Define a “Next-Generation Global Transit Hub”
 
2016 06 - design your api management strategy - axway - Api Management
2016 06 - design your api management strategy - axway - Api Management2016 06 - design your api management strategy - axway - Api Management
2016 06 - design your api management strategy - axway - Api Management
 
Introduction to AWS App Mesh - MAD303 - Atlanta AWS Summit
Introduction to AWS App Mesh - MAD303 - Atlanta AWS SummitIntroduction to AWS App Mesh - MAD303 - Atlanta AWS Summit
Introduction to AWS App Mesh - MAD303 - Atlanta AWS Summit
 
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
 
Oracle Developer Meetup March 2018
Oracle Developer Meetup March 2018Oracle Developer Meetup March 2018
Oracle Developer Meetup March 2018
 
Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?
 
What all it takes to build a successful hybrid integration strategy?
What all it takes to build a successful hybrid integration strategy? What all it takes to build a successful hybrid integration strategy?
What all it takes to build a successful hybrid integration strategy?
 
xConf-2022-api-gateway-service-mesh.pdf
xConf-2022-api-gateway-service-mesh.pdfxConf-2022-api-gateway-service-mesh.pdf
xConf-2022-api-gateway-service-mesh.pdf
 
SDN in the Enterprise: APIC Enterprise Module
SDN in the Enterprise:  APIC Enterprise Module SDN in the Enterprise:  APIC Enterprise Module
SDN in the Enterprise: APIC Enterprise Module
 
SOA for SSME 2009
SOA for SSME 2009SOA for SSME 2009
SOA for SSME 2009
 
Building enterprise depth APIs with the IBM hybrid integration portfolio
Building enterprise depth APIs with the IBM hybrid integration portfolioBuilding enterprise depth APIs with the IBM hybrid integration portfolio
Building enterprise depth APIs with the IBM hybrid integration portfolio
 
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
 
Public v1 real world example of azure functions serverless conf london 2016
Public v1 real world example of azure functions serverless conf london 2016 Public v1 real world example of azure functions serverless conf london 2016
Public v1 real world example of azure functions serverless conf london 2016
 
Building a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istioBuilding a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istio
 
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS SummitManaging microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP Integration
 
Chaos engineering in the cloud
Chaos engineering in the cloudChaos engineering in the cloud
Chaos engineering in the cloud
 
Testing IoT Apps with the Cloud
Testing IoT Apps with the CloudTesting IoT Apps with the Cloud
Testing IoT Apps with the Cloud
 
Scribe Online CDK & Connector Development
Scribe Online CDK & Connector DevelopmentScribe Online CDK & Connector Development
Scribe Online CDK & Connector Development
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Atlanta Meetup on Service Mesh Interface

Editor's Notes

  1. 17+ years in Software Engineering - DevOps focus Started off using Cloud Foundry Responsible for automated deployment of ELK stack on Kubernetes at AT&T Created Mel - an online retail platform startup Father of four girls Enjoy electronic music, smoked BBQ, and homemade rockets
  2. Today I will discuss: What is a service mesh? What is the Service Mesh Interface? SMI Spec Current Implementations
  3. “Keep your endpoints smart and your pipes dumb” Push to have endpoints do everything keep the communication layer without logic probably a knee-jerk reaction to the Enterprise Service Bus pattern As the number of microservices grow and scale, it becomes difficult to maintain these endpoints. The natural progression is this that this philosophy <click> becomes “Keep your endpoints simple and your pipes smart” endpoints now do not contain so much logic network gains some intelligence.
  4. Provides: Service Discovery Routing and Traffic Configuration Encryption and Authentication/Authorization Metrics and Monitoring Extremely Scalable as a mesh Communication goes from Source to Destination no middle interpreter Usually a proxy is placed as sidecar to application Application does not know it is part of a mesh No client libraries No special configuration Application calls are handled by the proxy Service Mesh Logic is performed by the proxy
  5. People like to compare Service Mesh to Enterprise Service Bus. <click> Service Mesh != ESB model Service mesh does not require client library in apps language agnostic does not interpret traffic Basic translation of traffic, if any Applications don’t even know they are on a mesh Similarities to ESB: Service discovery Routing encryption
  6. Project from Deislabs at Microsoft Initial commit March 2019 A Unifying interface for service meshes users and providers Akin to CNI (container network interface), CSI (container storage interface), but for Service Mesh
  7. Provides APIs for: Traffic Access Control What apps should talk to other apps Traffic Specs What endpoints are allowed on certain apps Traffic Split Send incoming traffic to two different backends Useful app upgrades with a blue/green/canary deployments Traffic Metrics Observability with: Metrics Telemetry Tracing
  8. SMI can standardize tooling. Flagger From waveworks Blue/Green/Canary tool Manipulates services and deployments Istio only Kiali Comprehensive set of observability tools Topology, Metrics, Tracing, etc. Istio only Kubecost Calculate total operating costs of Kubernetes Includes network costs I don’t see integration with a service mesh Could definitely benefit from having standardized metrics
  9. Lets say you are a mesh provider, How can you integrate with SMI? Implement SMI directly. Your code directly implements the interface spec. (linkerd) Create an adapter. The adapter implements the interface, then adapts objects to your implementation (istio)
  10. As I talk about SMI’s Spec, it will sound like I’m describing a service mesh in-and-of-itself. I am not. The functionality of SMI must be implemented by service mesh components that adhere to SMI
  11. Traffic Access Control Access Control Policy Only Authorization, not authentication Rules are additive - meanining that zero access is granted by default, and access must be given Authentication must be handled on another layer Currently done with Service Accounts
  12. Traffic Access Control Consider a normal scenario. A frontend app needs to talk to a backend app. We want to ensure only the frontend app talks to the backend only on specific endpoints
  13. Traffic Access Control Traffic Target - Sources (Yellow) are allowed to talk to a destination Spec (blue) uses a HTTPRouteGroup to define allowed endpoints (could define TCP as well, depends on protocol) Destinations (green) are also defined
  14. Note the use of service accounts Allow Frontend-SA in default namespace Endpoints “metrics” defined in “backend-routes” HTTPRouteGroup Destination Backend-SA service account Port 8080
  15. Traffic Spec Defines endpoints Used with Traffic Access Control Intended to handle many protocols Right now primarily HTTP
  16. HTTPRouteGroup Has a list of objects name methods path regex Docs say: Can be generated from: OpenAPI (Swagger) Protobuf
  17. In this example Define a “/metrics” endpoint Associate methods “GET” Give a name of “metrics” - used by the TrafficTarget Also an example for allowing all endpoints
  18. Traffic Split Allow traffic to span multiple destinations Weight based Useful to coordinate blue/green/canary releases Uses Services
  19. In this setup perform a blue/green deployment Slowly send a percentage of traffic to a new service Weights are provided 90% traffic on Frontend-v1 10% on Frontend-v2
  20. Weights are defined in terms of a resource (think CPU resources) 1000m = 1 resource Root Service (in red): The service clients connect to Backends (blue and green) are: Services inside the namespace with their own selectors, endpoints and configuration.
  21. Traffic Metrics An integration point for tooling Provides instantaneous metrics for: CLI Tools Horizontal Pod Autoscalers Canary Updates Two types of metrcis can be exposed: Metrics for latency, success or failures Topology between services Metrics are patterned after metrics.k8s.io They are exposed through the kubernetes API
  22. This first method exposes metrics for latency, success and failure between specified pods. In this example: Metrics are gathered between a resource and edge Traffic can be monitored in both directions In our example, we are monitoring traffic between a specific Backend Pod and a specific Frontend Pod However, Resources can be: Pods Namespaces Deployments Services And more
  23. In this example, we define a resource (green) (being a specific pod) We then define an edge (yellow) which contains a direction and a resource We also define what metrics (orange) to gather, that will be on the next slide
  24. Here we are gathering various latency percentiles Count of Successes Count of Failures
  25. In our second example, you can get the topology of pods The list is a directed graph of traffic This list can be queried for: all pods generally pods in a namespace traffic to a specific pod
  26. This example gets a list of connections to and from our backend Our search is narrow because we specified Namespace Selector pod name We can widen our search by removing these elements We can open search up to just specifying that the kind is pod.
  27. Hashicorp Consul implements Traffic Access Control “At Launch” “Consul-smi-controller” will support it Requires Consul 1.5 or higher More to come soon
  28. Linkerd 2.3 already implements SMI Traffic Metrics specs. Working on Traffic Split for 2.4 More to come soon
  29. Adapter will perform Traffic Splitting Seems early alpha No official container for the adapter, and build is difficult
  30. SMI seems to be a lowest-common-denominator spec. As such, it does not fully replace the experience of using a specific mesh directly. You may still need to directly call your service mesh if you need a particular feature not in SMI Unifying tooling sounds mega awesome! A great start! I hope the spec tries to expand, such as traffic splitting on headers