MAD · NOV 23-24 · 2018
Sail in the Cloud
Intro to Istio
Alex Soto
@alexsotob
MAD · NOV 23-24 · 2018
@alexsotob2
Alex Soto
Red Hat Engineer
www.lordofthejars.com
@alexsotob
Who Am I?
@alexsotob
Raffle Rules (applicable in the real)
3
1. Follow: @alexsotob
2. With picture of the session
3. Mention @alexsotob
4. With hashtag #commitconf
40% discount ctwcommitconf18
@alexsotob4
Questions
@alexsotob5
@alexsotob6
MyApp
Monolith
@alexsotob7
Modules
@alexsotob8
Components
@alexsotob9
Microservices
@alexsotob10
Microservices
@alexsotob11
Microservices
@alexsotob12
Network of Services
@alexsotob13
Microservices Own Their Data
@alexsotob14
Multiple Points of Entry
@alexsotob15
Microservices == Distributed Computing
OS
JVM
Service A
OS
JVM
Service B
OS
JVM
Service C
@alexsotob16
It means no worries
(…)
It's our problem-free
philosophy
Hakuna Matata.
— Simba
“
@alexsotob17
▪ The network is reliable
▪ Latency is zero
▪ Bandwidth is infinite
▪ The network is secure
https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing
▪ Topology does not change
▪ There is one administrator
▪ Transport cost is zero
▪ The network is homogeneous
Fallacies of Distributed Computing
@alexsotob18
Failure of a Service
@alexsotob19
Cascading Failure
@alexsotob20
Done properly
(Networking)
is a heroic art.
Done properly !
— Edna
“
@alexsotob21
Microservices’ilities
MyService
Monitoring
Tracing
API
Discovery
Invocation
Resilience
Pipeline
Authentication
Logging Elasticity
@alexsotob22
Hmmm. Really?
I’d say (water)
is half full.
— Dory
“
@alexsotob23
@alexsotob24
Microservices’ilities + OpenShift
MyService
Monitoring
Tracing
API
Discovery
Invocation
Resilience
Pipeline
Authentication
Logging Elasticity
@alexsotob25
Pods
A group of whales is commonly referred to
as a pod and a pod usually consists a group
of whales that have bonded together either
because of biological reasons or through
friendships developed between two or more
whales.
In many cases a typical whale pod consists
of anywhere from 2 to 30 whales or more.*
*http://www.whalefacts.org/what-is-a-group-of-whales-called/
@alexsotob26
Istio — ‘Sail’
(Kubernetes — the ‘Helmsman’)
@alexsotob27
But wow!
Am I so ready
for this change.
— Anna
“
@alexsotob28
Microservices’ilities + OpenShift + Istio
MyService
Monitoring
Tracing
API
Discovery
Invocation
Resilience
Pipeline
Authentication
Logging Elasticity
@alexsotob29
Container
JVM
Service B
Discovery
Load-balancer
Resiliency
Metrics
Tracing
Container
JVM
Service A
Discovery
Load-balancer
Resiliency
Metrics
Tracing
Container
JVM
Service C
Discovery
Load-balancer
Resiliency
Metrics
Tracing
Before Istio
Microservices Embedding Capabilities
@alexsotob30
Fairy tales can come true.
You gotta make them happen,
it all depends on you
— Tiana
“
@alexsotob31
Pod
Container
JVM
Service A
Sidecar Container
Pod
Container
JVM
Service C
Sidecar Container
After Istio
Pod
Container
JVM
Service B
Sidecar Container
Microservices Externalizing Capabilities
The sidecar intercepts all network traffic
@alexsotob32
Istio Concepts
Destination
Rule
Virtual Service Service Entry Gateway
✓ Circuit Breaker
✓ Load Balancers
✓ TLS settings
✓ Defining subsets
✓ Virtual services,
not in registry
✓ Describes
mapping
between
destinations
✓ Configure traffic
to external
services of the
mesh
✓ Use with
Detination Rule
& Virtual Service
✓ Load balancer at the
edge of the mesh
✓ Use with Virtual
Service
@alexsotob33
@alexsotob34
@alexsotob35
@alexsotob36
@alexsotob37
Proceed with
caution!!!.
— Fear
“
@alexsotob38
@alexsotob39
@alexsotob40
It's time to see
what I can do
To test the limits
and break through.
— Elsa
“
@alexsotob41
Put on your Sunday clothes
there's lots of world
out there.
— Wall-E
“
[http://bit.ly/istio-tutorial]
[http://bit.ly/istio-cheat-sheet]
@alexsotob42
@alexsotob43
@alexsotob44
Kiali.io
New
Service
Graph
@alexsotob45
If you focus on
what you left behind
you will never be
able to see what lies ahead.
— Chef Auguste Gusteau
“
@alexsotob46
Polyglot Microservices Platforms circa 2018
@alexsotob47
Digital Darwinism
Re-Org to
DevOps
Self-Service,
On-Demand.
Elastic
Infrastructure
as Code
Automation
Puppet,
Chef,
Ansible,
Kubernetes
CI & CD
Deployment
Pipeline
Advanced
Deployment
Techniques
Microservices
@alexsotob48
To live will be
an awfully
big adventure.
— Peter Pan
“
@alexsotob49
until serverless
@alexsotob asotobue@redhat.com
@alexsotob51
About Images
http://disney.wikia.com/wiki/File:TLK_Simba.png
http://disney.wikia.com/wiki/File:Tiana.12.png
http://insideout.wikia.com/wiki/File:FEAR_Fullbody_Render.png
http://disney.wikia.com/wiki/File:Judy_Hopps_Zootopia.png
https://mbtskoudsalg.com/explore/disney-up-png/#gal_post_3621_up-balloons-png.png
http://parody.wikia.com/wiki/File:Jiminy_cricket_disney.png
http://www.stickpng.com/img/comics-and-fantasy/the-incredibles/edna-e-mode
https://www.kisspng.com/png-dory-nemo-palette-surgeonfish-disney-infinity-3-0-916908/
https://www.kisspng.com/png-frozen-olaf-s-quest-elsa-kristoff-anna-anna-frozen-825204/
https://www.kisspng.com/png-eve-wii-wallpaper-wall-e-png-photos-421264/
https://www.kisspng.com/png-rapunzel-free-png-image-63202/
https://www.kisspng.com/png-ratatouille-french-cuisine-film-animation-pixar-ra-631822/
https://www.kisspng.com/png-peter-pan-tinker-bell-wendy-darling-clip-art-fly-655477/
https://gallery.yopriceville.com/Free-Clipart-Pictures/Cartoons-PNG/Transparent_Snow_White_PNG_Clipart#.W_PigJNKgnU
https://clipart.info/elsa-frozen-disney-png-6355
No License
Specified
Not Commercial
Usage
CC 4

Sail in the cloud - An intro to Istio commit