SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
v
Thursday, October 3, 2019
Jakarta Kubernetes at Kalibrr
Service Mesh
Observability
with Kiali
2
Yusuf Hadiwinata Sutandar
Linux Geek, Opensource Enthusiast,Security Hobbies
RHCT, RHCSAv5-v7, RHCEv5-v7, RHCVA, RHCI, RHCX, RHCSA-RHOS,
RHCJA, CEI, CEH, CHFI, CND, EDRP, CCNA, MCTCNA, Security+,
Network+, VCA, vExpert 2017-2018
VP Operation& Services – PT Biznet Gio Nusantara
100% Attention - Take Notes, Not Calls - Receive knowledge, Not Messages
Mute Notification for Slack, QQ, WA, Tele, Snapchat, FB, Line, SMS...
3
What is IstioConnect,secure,control,andobserveservices.
Secure - Automatically secure your services
through managed authentication, authorization,
and encryption of communication
between services.
Observer - See what's happening with
rich automatic tracing, monitoring, and logging of
all your services.
Control - Apply policies and ensure that
they’re enforced, and that resources are
fairly distributed among consumers.
Connect - Intelligently control the flow of traffic
and API calls between services, conduct a range
of tests, and upgrade gradually with red/black
deployments.
Istio Architecture
• The data plane is 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.
• The control plane manages and configures
the proxies to route traffic. Additionally, the
control plane configures Mixers to enforce
policies and collect telemetry.
Reff: https://istio.io/docs/concepts/what-is-istio/
5
An Istio service mesh is logically split
into a data plane and a control plane.
Istio – Sidecar Injection
6
https://istio.io/docs/reference/config/networking/v1alpha3/sidecar/
Describes the configuration of the
sidecar proxy that mediates inbound an
d outbound communication to the
workload instance it is attached to. By
default, Istio will program all sidecar
proxies in the mesh with the necessary
configuration required to reach every
workload instance in the mesh, as well
as accept traffic on all the ports
associated with the workload.
7
Introduction to
Kiali & Maistra
Project
8
Kiali - Background
A Microservice Architecture breaks up the monolith into many smaller pi
eces that are composed together. Patterns to secure the communication b
etween services like fault tolerance (via timeout, retry, circuit breaking, etc.
) have come up as well as distributed tracing to be able to see
where calls are going.
A service mesh can now provide these services on a platform level
and frees the application writers from those tasks. Routing decisions
are done at the mesh level.
Powered by Red Hat with
Love
Free, Open-Source
https://www.kiali.io/
9
About Kiali
Maistra, built around Istio, integrates with
Prometheus and Jaeger to give DevOps
teams visibility into issues, SecOps teams t
he ability to secure communication betwee
n pods using mutual TLS, and QA and dev
elopment teams the ability to use canaries,
traffic management, and other functionali
ty to test products. Also have Integration
with Openshift authentication
Kiali is an observabilityconsole for Istio with
service mesh configuration capabilities. It
helps you to understand the structure of your
service mesh by inferring the topology, and
also provides the health of your mesh.
Kiali works with Istio to visualise the service
mesh topology, features like circuit breakers or
request rates.
Kiali also includes an integration with Jaeger
Tracing to provide distributed tracing out of
the box.
10
Kiali – How it Work
A sidecar proxy sits alongside a microservice and routes requests to other
proxies. Together, these sidecars form a mesh network.
Traditional Way
Service Mesh Way
11
Kiali – How it Work
12
Kiali – Topology View
The graph provides a powerful way to
visualize the topology of your service
mesh. It shows you which services
communicate with each other and the
traffic rates and latencies between them. It
lets you visually identify problem areas ane
quickly pinpoint issues.
13
Kiali – Graph Visualization & Thread Modeling
Versioned Graph
Service Graph
Workload Graph
Visibility for Application Logic & Business Flow
14
Kiali – Graph Health
Colors in the graph
represent the health of
your service mesh. A nodes
colored as red or orange
may need attention. The
color of an edge between
components represents the
health of the requests
between those
components. The node
shape indicates the type of
component, services,
workloads, apps, etc
15
Kiali – Graph: Side-Panel
• Charts showing traffic and response times
• Health details
• Links to fully-detailed pages
• Response Code breakdowns.
16
Kiali – Application Performance Monitoring
Application and workload
detail views show request
and response metrics
(volume, duration, size, tcp
traffic). The traffic can also
be viewed for either
inbound or outbound
traffic. The service detail
view shows request and
response metrics per
inbound traffic.
17
Kiali – Distribute Tracing
Seamless integration with
Jaeger - an open source,
end-to-
end distributed tracing for
monitor and troubleshoo
t transactions in complex
distributed systems Like S
ervices Mesh
• Distributed transaction monitoring
• Performance and latency optimization
• Root cause analysis
• Service dependency analysis
https://github.com/opentracing/specification/blob/master/specification.md
https://www.jaegertracing.io/docs/1.14/architecture/
18
Kiali – Detect Missconfiguration
https://www.kiali.io/documentation/validations/
Kiali performs a set of validations to the most common Istio Objects
(Destination Rules, Service Entries, Virtual Services, and so on).
19
Kiali – Istio Routing Wizard
Wizard based to Configure
Istio HTTP/TCP routing features
Kiali provides different actions to
create, update and delete Istio
configuration driven by Wizards
Weighted Routing Wizard
Matching Routing WizardSuspend Traffic Wizard
https://medium.com/kialiproject
20
Kiali - Weighted Routing Wizard
https://github.com/isnuryusuf/kubernetes-istio-cicd/blob/master/install.sh
21
Kiali - Matching Routing Wizard
22
Kiali – Traffic Animation
Mesh Service Visualization, now
integrated with Istio.
=> Graph, metrics, health,
validation of configurations, ...
23
Lets play
some Games
and Demo
24
Bookinfo sample App Demo Services Mesh
• Productpage - Microservice
calls the details and reviews
microservices to populate the
page.
• Details - Microservice
contains book information.
• Reviews - Microservice
contains book reviews. It also
calls the ratings microservice.
• Ratings -
ratings microservice contains
book ranking information
that accompanies a book
review.
25
Example Cloud-nativeMicroservicesDemo Application
26
This project contains a 10-tier
microservices application. The
application is a web-based e-
commerce app called “Hipster
Shop” where users can browse
items, add them to the cart, and
purchase them
Example Cloud-native
Microservices Demo
Application
27
Soccess Games Microservices
Several microservices
• The stadium in different sizes
• Each player
• Each balloon
Some features of Istio will be discussed:
• Intelligent routing
• The shadowing
• Circuit breaking (outlier detection)
29
Kubernetes 1.16: Custom Resources,OverhauledMetrics, and Volume
Extensions
https://kubernetes.io/blog/2019/09/18/kubernetes-1-16-release-announcement/
Additional Enhancements
• Custom Resources Reach General
Availability
• Opening Doors With Windows
Enhancements
• Introducing Endpoint Slices
31
➢ isi
Get Free Merchandize for 1st, 2nd, 3rd high
scores on This Games
Go To: https://kahoot.it Now!! And Enter Game Pin
32
33
Question & Answer
34
Getting Started with Kiali
• Prepare your Kubernetes/Openshift
• Prepare your Kiali
https://www.kiali.io/documentation/getting-started/
• Other Interesting Blog Post
https://medium.com/kialiproject
• To Busy Installing from Zero?
https://katacoda.com/kiali/scenarios/bookinfo
35
Are you Awesome!!?? we're hiring!!
Are you in love with monitoring and
automation? We’re building something here!
- Systems Reliability Engineer
http://bit.ly/bgn-msre
- Junior Systems Operations Engineer
bit.ly/bgn-jsoe
- NetDev Engineer – ask me :)
Key-Service
For Your Business
www.biznetgiocloud.com
PT. Biznet Gio Nusantara MidPlaza 1, 7th Floor Jl. Jend Sudirman Kav. 10-11 Jakarta 10220 – Indonesia

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Protecting National Critical Infrastructure Asiangames 2018
Protecting National Critical Infrastructure Asiangames 2018Protecting National Critical Infrastructure Asiangames 2018
Protecting National Critical Infrastructure Asiangames 2018
 
Principles of System Observability
Principles of System Observability Principles of System Observability
Principles of System Observability
 
Cómo transformar los datos en análisis con los que tomar decisiones
Cómo transformar los datos en análisis con los que tomar decisionesCómo transformar los datos en análisis con los que tomar decisiones
Cómo transformar los datos en análisis con los que tomar decisiones
 
Monitoring and Securing a Geo-Dispersed Data Center at Hill AFB
Monitoring and Securing a Geo-Dispersed Data Center at Hill AFBMonitoring and Securing a Geo-Dispersed Data Center at Hill AFB
Monitoring and Securing a Geo-Dispersed Data Center at Hill AFB
 
Elastic @ Adobe: Making Search Smarter with Machine Learning at Scale
Elastic @ Adobe: Making Search Smarter with Machine Learning at ScaleElastic @ Adobe: Making Search Smarter with Machine Learning at Scale
Elastic @ Adobe: Making Search Smarter with Machine Learning at Scale
 
Combining Logs, Metrics, and Traces for Unified Observability
Combining Logs, Metrics, and Traces for Unified ObservabilityCombining Logs, Metrics, and Traces for Unified Observability
Combining Logs, Metrics, and Traces for Unified Observability
 
Elastic APM : développez vos logs et vos indicateurs pour obtenir une vue com...
Elastic APM : développez vos logs et vos indicateurs pour obtenir une vue com...Elastic APM : développez vos logs et vos indicateurs pour obtenir une vue com...
Elastic APM : développez vos logs et vos indicateurs pour obtenir une vue com...
 
Getting started with IoT
Getting started with IoTGetting started with IoT
Getting started with IoT
 
Accelerating Digital Transformation with App Modernization
Accelerating Digital Transformation with App ModernizationAccelerating Digital Transformation with App Modernization
Accelerating Digital Transformation with App Modernization
 
Automate Your Container Deployments Securely
Automate Your Container Deployments SecurelyAutomate Your Container Deployments Securely
Automate Your Container Deployments Securely
 
Introduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft AzureIntroduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft Azure
 
Keynote: Elastic Observability evolution and vision
  Keynote: Elastic Observability evolution and vision  Keynote: Elastic Observability evolution and vision
Keynote: Elastic Observability evolution and vision
 
Siscale Lightning Talk: Automated Root Cause Analysis with Elastic Stack
Siscale Lightning Talk: Automated Root Cause Analysis with Elastic StackSiscale Lightning Talk: Automated Root Cause Analysis with Elastic Stack
Siscale Lightning Talk: Automated Root Cause Analysis with Elastic Stack
 
Elastic and Google: Observability for multicloud and hybrid environments
Elastic and Google: Observability for multicloud and hybrid environmentsElastic and Google: Observability for multicloud and hybrid environments
Elastic and Google: Observability for multicloud and hybrid environments
 
Get full visibility and find hidden security issues
Get full visibility and find hidden security issuesGet full visibility and find hidden security issues
Get full visibility and find hidden security issues
 
Biznet Gio Presentation - Database Security
Biznet Gio Presentation - Database SecurityBiznet Gio Presentation - Database Security
Biznet Gio Presentation - Database Security
 
Combinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaCombinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificada
 
Blockchain in Practice
Blockchain in PracticeBlockchain in Practice
Blockchain in Practice
 
Webinar Data Mesh - Part 3
Webinar Data Mesh - Part 3Webinar Data Mesh - Part 3
Webinar Data Mesh - Part 3
 
Combinación de logs, métricas y rastreos para observabilidad unificada
Combinación de logs, métricas y rastreos para observabilidad unificadaCombinación de logs, métricas y rastreos para observabilidad unificada
Combinación de logs, métricas y rastreos para observabilidad unificada
 

Ähnlich wie Kubernetes Jakarta Meetup 010 - Service Mesh Observability with Kiali

Cloud computing
Cloud computingCloud computing
Cloud computing
shethzaid
 

Ähnlich wie Kubernetes Jakarta Meetup 010 - Service Mesh Observability with Kiali (20)

[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...
 
Application Networks: Microservices and APIs at Netflix
Application Networks: Microservices and APIs at NetflixApplication Networks: Microservices and APIs at Netflix
Application Networks: Microservices and APIs at Netflix
 
Microservices at Netflix
Microservices at NetflixMicroservices at Netflix
Microservices at Netflix
 
Microservices Design Principles.pdf
Microservices Design Principles.pdfMicroservices Design Principles.pdf
Microservices Design Principles.pdf
 
ISTIO Deep Dive
ISTIO Deep DiveISTIO Deep Dive
ISTIO Deep Dive
 
Microservices Architecture, Monolith Migration Patterns
Microservices Architecture, Monolith Migration PatternsMicroservices Architecture, Monolith Migration Patterns
Microservices Architecture, Monolith Migration Patterns
 
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
 
Microservices: Where do they fit within a rapidly evolving integration archit...
Microservices: Where do they fit within a rapidly evolving integration archit...Microservices: Where do they fit within a rapidly evolving integration archit...
Microservices: Where do they fit within a rapidly evolving integration archit...
 
The Complete Guide to Service Mesh
The Complete Guide to Service MeshThe Complete Guide to Service Mesh
The Complete Guide to Service Mesh
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
 
Introduction Of Cloud Computing
Introduction Of Cloud ComputingIntroduction Of Cloud Computing
Introduction Of Cloud Computing
 
Istio a service mesh
Istio   a service meshIstio   a service mesh
Istio a service mesh
 
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
 
API Management Microservices beyond HIP
API Management Microservices beyond HIPAPI Management Microservices beyond HIP
API Management Microservices beyond HIP
 
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
 
Api service mesh and microservice tooling
Api service mesh and microservice toolingApi service mesh and microservice tooling
Api service mesh and microservice tooling
 
Emerging trends and technologies in Cloud Computing.pdf
Emerging trends and technologies in Cloud Computing.pdfEmerging trends and technologies in Cloud Computing.pdf
Emerging trends and technologies in Cloud Computing.pdf
 
Managing microservices with Istio Service Mesh
Managing microservices with Istio Service MeshManaging microservices with Istio Service Mesh
Managing microservices with Istio Service Mesh
 

Mehr von Yusuf Hadiwinata Sutandar

Mehr von Yusuf Hadiwinata Sutandar (20)

LOUCA23 Yusuf Hadiwinata Linux Security BestPractice
LOUCA23 Yusuf Hadiwinata Linux Security BestPracticeLOUCA23 Yusuf Hadiwinata Linux Security BestPractice
LOUCA23 Yusuf Hadiwinata Linux Security BestPractice
 
How DevOps works in the Enterprise
How DevOps works  in the EnterpriseHow DevOps works  in the Enterprise
How DevOps works in the Enterprise
 
Acronis Meet and Learn
Acronis Meet and LearnAcronis Meet and Learn
Acronis Meet and Learn
 
BiznetGio Presentation Business Continuity
BiznetGio Presentation Business ContinuityBiznetGio Presentation Business Continuity
BiznetGio Presentation Business Continuity
 
March of the Penguin - 31 years Linux Snapshot
March of the Penguin - 31 years Linux SnapshotMarch of the Penguin - 31 years Linux Snapshot
March of the Penguin - 31 years Linux Snapshot
 
Choose the Right Container Storage for Kubernetes
Choose the Right Container Storage for KubernetesChoose the Right Container Storage for Kubernetes
Choose the Right Container Storage for Kubernetes
 
Biznet GIO National Seminar on Digital Forensics
Biznet GIO National Seminar on Digital ForensicsBiznet GIO National Seminar on Digital Forensics
Biznet GIO National Seminar on Digital Forensics
 
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
 
Devops Indonesia Presentation Monitoring Framework
Devops Indonesia Presentation Monitoring FrameworkDevops Indonesia Presentation Monitoring Framework
Devops Indonesia Presentation Monitoring Framework
 
Bssn book security awarness
Bssn book security awarnessBssn book security awarness
Bssn book security awarness
 
Job vacancies cti group
Job vacancies cti groupJob vacancies cti group
Job vacancies cti group
 
Devops Indonesia - DevSecOps - The Open Source Way
Devops Indonesia - DevSecOps - The Open Source WayDevops Indonesia - DevSecOps - The Open Source Way
Devops Indonesia - DevSecOps - The Open Source Way
 
Devops indonesia - The Future Container
Devops indonesia - The Future ContainerDevops indonesia - The Future Container
Devops indonesia - The Future Container
 
Journey to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftJourney to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshift
 
War of Openstack Private Cloud Distribution
War of Openstack Private Cloud DistributionWar of Openstack Private Cloud Distribution
War of Openstack Private Cloud Distribution
 
create auto scale jboss cluster with openshift
create auto scale jboss cluster with openshiftcreate auto scale jboss cluster with openshift
create auto scale jboss cluster with openshift
 
Docker handons-workshop-for-charity
Docker handons-workshop-for-charityDocker handons-workshop-for-charity
Docker handons-workshop-for-charity
 
Docker meetup-20-apr-17-openshit
Docker meetup-20-apr-17-openshitDocker meetup-20-apr-17-openshit
Docker meetup-20-apr-17-openshit
 
I3 docker-intro-yusuf
I3 docker-intro-yusufI3 docker-intro-yusuf
I3 docker-intro-yusuf
 
Rhhpc Installation Guide 20100524
Rhhpc Installation Guide 20100524Rhhpc Installation Guide 20100524
Rhhpc Installation Guide 20100524
 

Kürzlich hochgeladen

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
VictorSzoltysek
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
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
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
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
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
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
 
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
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
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
 
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
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
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
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

Kubernetes Jakarta Meetup 010 - Service Mesh Observability with Kiali

  • 1. v Thursday, October 3, 2019 Jakarta Kubernetes at Kalibrr Service Mesh Observability with Kiali
  • 2. 2 Yusuf Hadiwinata Sutandar Linux Geek, Opensource Enthusiast,Security Hobbies RHCT, RHCSAv5-v7, RHCEv5-v7, RHCVA, RHCI, RHCX, RHCSA-RHOS, RHCJA, CEI, CEH, CHFI, CND, EDRP, CCNA, MCTCNA, Security+, Network+, VCA, vExpert 2017-2018 VP Operation& Services – PT Biznet Gio Nusantara 100% Attention - Take Notes, Not Calls - Receive knowledge, Not Messages Mute Notification for Slack, QQ, WA, Tele, Snapchat, FB, Line, SMS...
  • 3. 3
  • 4. What is IstioConnect,secure,control,andobserveservices. Secure - Automatically secure your services through managed authentication, authorization, and encryption of communication between services. Observer - See what's happening with rich automatic tracing, monitoring, and logging of all your services. Control - Apply policies and ensure that they’re enforced, and that resources are fairly distributed among consumers. Connect - Intelligently control the flow of traffic and API calls between services, conduct a range of tests, and upgrade gradually with red/black deployments.
  • 5. Istio Architecture • The data plane is 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. • The control plane manages and configures the proxies to route traffic. Additionally, the control plane configures Mixers to enforce policies and collect telemetry. Reff: https://istio.io/docs/concepts/what-is-istio/ 5 An Istio service mesh is logically split into a data plane and a control plane.
  • 6. Istio – Sidecar Injection 6 https://istio.io/docs/reference/config/networking/v1alpha3/sidecar/ Describes the configuration of the sidecar proxy that mediates inbound an d outbound communication to the workload instance it is attached to. By default, Istio will program all sidecar proxies in the mesh with the necessary configuration required to reach every workload instance in the mesh, as well as accept traffic on all the ports associated with the workload.
  • 7. 7 Introduction to Kiali & Maistra Project
  • 8. 8 Kiali - Background A Microservice Architecture breaks up the monolith into many smaller pi eces that are composed together. Patterns to secure the communication b etween services like fault tolerance (via timeout, retry, circuit breaking, etc. ) have come up as well as distributed tracing to be able to see where calls are going. A service mesh can now provide these services on a platform level and frees the application writers from those tasks. Routing decisions are done at the mesh level. Powered by Red Hat with Love Free, Open-Source https://www.kiali.io/
  • 9. 9 About Kiali Maistra, built around Istio, integrates with Prometheus and Jaeger to give DevOps teams visibility into issues, SecOps teams t he ability to secure communication betwee n pods using mutual TLS, and QA and dev elopment teams the ability to use canaries, traffic management, and other functionali ty to test products. Also have Integration with Openshift authentication Kiali is an observabilityconsole for Istio with service mesh configuration capabilities. It helps you to understand the structure of your service mesh by inferring the topology, and also provides the health of your mesh. Kiali works with Istio to visualise the service mesh topology, features like circuit breakers or request rates. Kiali also includes an integration with Jaeger Tracing to provide distributed tracing out of the box.
  • 10. 10 Kiali – How it Work A sidecar proxy sits alongside a microservice and routes requests to other proxies. Together, these sidecars form a mesh network. Traditional Way Service Mesh Way
  • 11. 11 Kiali – How it Work
  • 12. 12 Kiali – Topology View The graph provides a powerful way to visualize the topology of your service mesh. It shows you which services communicate with each other and the traffic rates and latencies between them. It lets you visually identify problem areas ane quickly pinpoint issues.
  • 13. 13 Kiali – Graph Visualization & Thread Modeling Versioned Graph Service Graph Workload Graph Visibility for Application Logic & Business Flow
  • 14. 14 Kiali – Graph Health Colors in the graph represent the health of your service mesh. A nodes colored as red or orange may need attention. The color of an edge between components represents the health of the requests between those components. The node shape indicates the type of component, services, workloads, apps, etc
  • 15. 15 Kiali – Graph: Side-Panel • Charts showing traffic and response times • Health details • Links to fully-detailed pages • Response Code breakdowns.
  • 16. 16 Kiali – Application Performance Monitoring Application and workload detail views show request and response metrics (volume, duration, size, tcp traffic). The traffic can also be viewed for either inbound or outbound traffic. The service detail view shows request and response metrics per inbound traffic.
  • 17. 17 Kiali – Distribute Tracing Seamless integration with Jaeger - an open source, end-to- end distributed tracing for monitor and troubleshoo t transactions in complex distributed systems Like S ervices Mesh • Distributed transaction monitoring • Performance and latency optimization • Root cause analysis • Service dependency analysis https://github.com/opentracing/specification/blob/master/specification.md https://www.jaegertracing.io/docs/1.14/architecture/
  • 18. 18 Kiali – Detect Missconfiguration https://www.kiali.io/documentation/validations/ Kiali performs a set of validations to the most common Istio Objects (Destination Rules, Service Entries, Virtual Services, and so on).
  • 19. 19 Kiali – Istio Routing Wizard Wizard based to Configure Istio HTTP/TCP routing features Kiali provides different actions to create, update and delete Istio configuration driven by Wizards Weighted Routing Wizard Matching Routing WizardSuspend Traffic Wizard https://medium.com/kialiproject
  • 20. 20 Kiali - Weighted Routing Wizard https://github.com/isnuryusuf/kubernetes-istio-cicd/blob/master/install.sh
  • 21. 21 Kiali - Matching Routing Wizard
  • 22. 22 Kiali – Traffic Animation Mesh Service Visualization, now integrated with Istio. => Graph, metrics, health, validation of configurations, ...
  • 24. 24 Bookinfo sample App Demo Services Mesh • Productpage - Microservice calls the details and reviews microservices to populate the page. • Details - Microservice contains book information. • Reviews - Microservice contains book reviews. It also calls the ratings microservice. • Ratings - ratings microservice contains book ranking information that accompanies a book review.
  • 26. 26 This project contains a 10-tier microservices application. The application is a web-based e- commerce app called “Hipster Shop” where users can browse items, add them to the cart, and purchase them Example Cloud-native Microservices Demo Application
  • 27. 27 Soccess Games Microservices Several microservices • The stadium in different sizes • Each player • Each balloon Some features of Istio will be discussed: • Intelligent routing • The shadowing • Circuit breaking (outlier detection)
  • 28. 29 Kubernetes 1.16: Custom Resources,OverhauledMetrics, and Volume Extensions https://kubernetes.io/blog/2019/09/18/kubernetes-1-16-release-announcement/ Additional Enhancements • Custom Resources Reach General Availability • Opening Doors With Windows Enhancements • Introducing Endpoint Slices
  • 29. 31 ➢ isi Get Free Merchandize for 1st, 2nd, 3rd high scores on This Games Go To: https://kahoot.it Now!! And Enter Game Pin
  • 30. 32
  • 32. 34 Getting Started with Kiali • Prepare your Kubernetes/Openshift • Prepare your Kiali https://www.kiali.io/documentation/getting-started/ • Other Interesting Blog Post https://medium.com/kialiproject • To Busy Installing from Zero? https://katacoda.com/kiali/scenarios/bookinfo
  • 33. 35 Are you Awesome!!?? we're hiring!! Are you in love with monitoring and automation? We’re building something here! - Systems Reliability Engineer http://bit.ly/bgn-msre - Junior Systems Operations Engineer bit.ly/bgn-jsoe - NetDev Engineer – ask me :)
  • 34. Key-Service For Your Business www.biznetgiocloud.com PT. Biznet Gio Nusantara MidPlaza 1, 7th Floor Jl. Jend Sudirman Kav. 10-11 Jakarta 10220 – Indonesia