A presentation at Microservices NYC in in New York, NY, USA by Mickey Boxell
Native Service Mesh : Beyond the Hype Starring: Linkerd cloudnative.oracle.com Mickey Boxell @mickeyboxell
Linkerd @mickeyboxell
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
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
control plane CLI/Dashboard SP Validator Public API Tap Identity Destination Prometheus Grafana data plane Application Linkerd Proxy @mickeyboxell
sidecar proxy Service 1 HTTP, HTTP/2, and gRPC with or without mTLS Service 2 Linkerd Proxy Linkerd Proxy Pod 1 Pod 2 @mickeyboxell
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
Linkerd Commands Service Profile Tap Metrics Top Inject Stat Uninject Routes @mickeyboxell
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
inject uninject Add the Linkerd proxy to Remove the Linkerd a Kubernetes config proxy from a Kubernetes config @mickeyboxell
tap top Listen to a traffic stream Display sorted information about live traffic @mickeyboxell
routes stat Display route stats Display traffic stats about one or many resources @mickeyboxell
Deployment Options Flagger Blue/green Canary @mickeyboxell
flagger Kubernetes operator automating promotion of blue/green and canary deployments using Linkerd or other tools for traffic shifting @mickeyboxell
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
Native Additional Resources https://linkerd.io/ https://docs.flagger.app https://docs.cloud.oracle.com/iaas/Content/home.htm cloudnative.oracle.com @mickeyboxell
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