Skip to main content

Announcing [K]inference: Scalable inference serving for Kubernetes |

Learn more
close
Free O'Reilly resource

Linkerd: Up & Running

Revised Edition

A practical guide to deploying, securing, and operating Linkerd in production, from the company that built it.

Written by Jason Morgan and Flynn of Buoyant, the team that created Linkerd.

A service mesh gives every service in your cluster mTLS, retries, and golden metrics without anyone touching application code. This book shows you how to get Linkerd doing that in a real cluster, then how to keep it healthy once it's carrying production traffic.

We revised it because Linkerd has changed a lot since the first edition came out in April 2024. Gateway API resources now drive routing, policy, and per-route metrics, multicluster has a Pod-to-Pod mode with federated Services, and the release model works differently. The examples, commands, and recommendations in this edition reflect how Linkerd runs today.

What's new in the revised edition

Gateway API everywhere. Every routing, policy, and observability example uses gateway.networking.k8s.io/v1 HTTPRoute and GRPCRoute resources. Linkerd 2.18 and later conform to the Gateway API Mesh profile, and if you're still running ServiceProfile, the book explains why and how to move off it.

Federated Services and Pod-to-Pod multicluster. Chapter 12 builds gateway-based and Pod-to-Pod setups side by side. It also covers when a federated Service handles cross-cluster failover that a mirrored Service can't.

Audit mode for policy. Set your default policy to audit, watch which requests would have been denied in your logs and metrics, and enforce only once nothing surprising shows up.

The current release model. Edge releases, version- tags, and stable vendor releases each serve a different purpose, and Chapter 3 shows how they map to each other so you can decide what to run in production.

More ingress and reliability coverage. There are walkthroughs for Envoy Gateway and Traefik alongside Emissary-ingress, plus circuit breaking, access logging, and linkerd viz stat-outbound.

Free O'Reilly ebook

Linkerd claims the lowest time to value of any service mesh available today. Use this book to check our claim yourself.

Who this book is for

You'll get the most out of it if you're comfortable with Kubernetes, containers, and the Unix command line. Some Prometheus, Helm, or Jaeger experience helps, but you don't need it.

The authors wrote it for application developers, cluster operators, and platform engineers alike. If you already run Linkerd, the policy chapters (8 and 9), multicluster (12), and production readiness (14) are where most of the updated material lives. If service meshes are new to you, start with Chapter 1.

What's inside

  1. Service Mesh 101
  2. Intro to Linkerd
  3. Deploying Linkerd
  4. Adding Workloads to the Mesh
  5. Ingress and Linkerd
  6. The Linkerd CLI
  7. mTLS, Linkerd, and Certificates
  8. Linkerd Policy: Overview and Server-Based Policy
  9. Linkerd Route-Based Policy
  10. Observing Your Platform with Linkerd
  11. Ensuring Reliability with Linkerd
  12. Multicluster Communication with Linkerd
  13. Linkerd CNI Versus Init Containers
  14. Production-Ready Linkerd
  15. Debugging Linkerd