Linkerd

A presentation at Microservices NYC in August 2019 in New York, NY, USA by Mickey Boxell

Slide 1

Slide 1

Native Service Mesh : Beyond the Hype Starring: Linkerd cloudnative.oracle.com Mickey Boxell @mickeyboxell

Slide 2

Slide 2

Linkerd @mickeyboxell

Slide 3

Slide 3

Operating Containers @ Scale • Simply and repeatedly deploy software and modify deployments • Observability to reliably operate our environments • This should be as transparent as possible to our development teams @mickeyboxell

Slide 4

Slide 4

Linkerd 2 • An open source service mesh for Kubernetes • Written in Rust • Comprised of a CLI, control plane, data plane • Sidecar proxies handle traffic to services • Control plane receives telemetry from data plane • Deployed via CLI or Helm @mickeyboxell

Slide 5

Slide 5

control plane CLI/Dashboard SP Validator Public API Tap Identity Destination Prometheus Grafana data plane Application Linkerd Proxy @mickeyboxell

Slide 6

Slide 6

sidecar proxy Service 1 HTTP, HTTP/2, and gRPC with or without mTLS Service 2 Linkerd Proxy Linkerd Proxy Pod 1 Pod 2 @mickeyboxell

Slide 7

Slide 7

Lab Overview Lab 0: Oracle Cloud Account & K8’s Cluster Creation Lab 1: Install Linkerd Lab 2: Demo Application Lab 3: Canary Deployments Lab 4: Failure Injection Lab 5: Debugging Your Service @mickeyboxell

Slide 8

Slide 8

Linkerd Commands Service Profile Tap Metrics Top Inject Stat Uninject Routes @mickeyboxell

Slide 9

Slide 9

service profile metrics Define a list of routes for Fetch metrics directly a service from Linkerd proxies Enables per-route metric reporting and features such as retries and timeouts @mickeyboxell

Slide 10

Slide 10

inject uninject Add the Linkerd proxy to Remove the Linkerd a Kubernetes config proxy from a Kubernetes config @mickeyboxell

Slide 11

Slide 11

tap top Listen to a traffic stream Display sorted information about live traffic @mickeyboxell

Slide 12

Slide 12

routes stat Display route stats Display traffic stats about one or many resources @mickeyboxell

Slide 13

Slide 13

Deployment Options Flagger Blue/green Canary @mickeyboxell

Slide 14

Slide 14

flagger Kubernetes operator automating promotion of blue/green and canary deployments using Linkerd or other tools for traffic shifting @mickeyboxell

Slide 15

Slide 15

blue/green canary Simultaneously running Rolling out a new version two versions of a to production to a small production environment subset of users and with one serving live incrementally changing production traffic while the rest of the the other is idle environment @mickeyboxell

Slide 16

Slide 16

Native Additional Resources https://linkerd.io/ https://docs.flagger.app https://docs.cloud.oracle.com/iaas/Content/home.htm cloudnative.oracle.com @mickeyboxell

Slide 17

Slide 17

Native Stay Connected Medium: https://medium.com/@m.r.boxell Twitter: @mickeyboxell Linkedin: https://www.linkedin.com/in/mickeyboxell/ Try Oracle Cloud: https://cloud.oracle.com/tryit cloudnative.oracle.com @mickeyboxell