Istio Service Mesh

20
Istio! Luke Marsden, Developer Experience @lmarsden

Transcript of Istio Service Mesh

Page 1: Istio Service Mesh

Istio!

Luke Marsden, Developer Experience@lmarsden

Page 2: Istio Service Mesh

Developers

Users

Page 3: Istio Service Mesh

Ship features fasterDevelopers

Users

Page 4: Istio Service Mesh

Fix problems faster

Developers

Users

Page 5: Istio Service Mesh

Developers

Users

competitiveness = speed of iteration

Page 6: Istio Service Mesh

Service mesh• Your app normally has: • API server, needs securing with TLS • API client, needs retries • Load balancer to send traffic to the right place depending on

policies • Authentication and authorization • Circuit breaking • Monitoring instrumentation (Prometheus) • …

Page 7: Istio Service Mesh

Service mesh• Service mesh says: • Move this into a sidecar!

Page 8: Istio Service Mesh

Before

Kubernetes pod

Page 9: Istio Service Mesh

Before

Kubernetes pod

Appcontainer

Page 10: Istio Service Mesh

Before

Kubernetes pod

Appcontainer

TLS

Page 11: Istio Service Mesh

Before

Kubernetes pod

Appcontainer

TLS

retries

Page 12: Istio Service Mesh

Before

Kubernetes pod

Appcontainer

TLS

retries

metrics

Page 13: Istio Service Mesh

Before

Kubernetes pod

Appcontainer

TLS

retries

metrics

Page 14: Istio Service Mesh

Before

Kubernetes pod

Appcontainer

TLS

retries

metrics

Page 15: Istio Service Mesh

Istio

After

Kubernetes pod

Appcontainer

TLS

retries

metrics

Page 16: Istio Service Mesh

Benefits• Do it well once, rather than over and over

again • Save effort! • Microservices are polyglot • Don’t want to have to rewrite all that logic

in N different languages

Page 17: Istio Service Mesh

Istio components• Envoy • Smart reverse proxy as shown • Mixer • “Control” service to which Envoys connect • Also: • Pilot for config, Istio-Auth for TLS...

Page 18: Istio Service Mesh

Istio

Page 19: Istio Service Mesh

Istio and Weave Cloud• Istio works great with Weave Cloud • Use Weave Cloud Explore to visualize Istio

in action • Have Weave Cloud Monitor handle the

long-term storage of Prometheus metrics • Demo…

Page 20: Istio Service Mesh

What does Weave do?

Weave helps devops iterate faster with: • observability &

monitoring • continuous delivery • container networks &

firewalls

Weave Net provides a Kubernetes pod network & Network Policy implementation