ApiaryActive
Try: pause · settings · learn · wipe
← Community / Reading Room
L
computing · 1 min read

Linkerd

Linkerd is an open-source service mesh designed to enhance communication, security, and observability in cloud-native applications. Launched in 2016 by…

Overview

Linkerd is an open-source service mesh designed to enhance communication, security, and observability in cloud-native applications. Launched in 2016 by Buoyant, a company co-founded by William Morgan and O’Reilly Media co-founder John Resig, Linkerd was one of the first service meshes and later joined the Cloud Native Computing Foundation (CNCF) in 2017. It operates as a transparent layer between microservices, managing service-to-service interactions without requiring modifications to application code. Linkerd is known for its lightweight design, focusing on simplicity, performance, and ease of integration in Kubernetes environments.

Architecture

Linkerd's architecture is divided into a data plane and a control plane. The data plane consists of high-performance sidecar proxies (written in Rust for Linkerd 1, and Envoy for Linkerd 2) injected into each service pod. These proxies intercept and manage all HTTP, TCP, and gRPC traffic, offering features like load balancing, service discovery, encryption, and distributed tracing. The control plane oversees the data plane, comprising components such as the Linkerd controller (for proxy configuration), the identity server (managing mutual TLS authentication), the metrics API (collecting telemetry data), and the destination service (handling service discovery). The control plane leverages Kubernetes APIs for seamless integration and is implemented in Rust and Go. Linkerd 2, released in 2018, shifted to Envoy as its data plane to benefit from its robust community and performance optimizations.

Deployment and Integration

Linkerd is deployed as a Kubernetes operator, typically installed using Helm charts. Upon installation, it automatically injects sidecar proxies into each pod via a Kubernetes mutating admission webhook. This injection is optional but commonly enabled, allowing Linkerd to intercept all traffic between services transparently. The sidecar proxies require minimal configuration, reducing operational overhead. Linkerd integrates with Kubernetes’ built-in service discovery and supports external services through DNS-based routing

Frequently asked
What is Linkerd about?
Linkerd is an open-source service mesh designed to enhance communication, security, and observability in cloud-native applications. Launched in 2016 by…
What should you know about overview?
Linkerd is an open-source service mesh designed to enhance communication, security, and observability in cloud-native applications. Launched in 2016 by Buoyant, a company co-founded by William Morgan and O’Reilly Media co-founder John Resig, Linkerd was one of the first service meshes and later joined the Cloud…
What should you know about architecture?
Linkerd's architecture is divided into a data plane and a control plane . The data plane consists of high-performance sidecar proxies (written in Rust for Linkerd 1, and Envoy for Linkerd 2) injected into each service pod. These proxies intercept and manage all HTTP, TCP, and gRPC traffic, offering features like load…
What should you know about deployment and Integration?
Linkerd is deployed as a Kubernetes operator, typically installed using Helm charts. Upon installation, it automatically injects sidecar proxies into each pod via a Kubernetes mutating admission webhook. This injection is optional but commonly enabled, allowing Linkerd to intercept all traffic between services…
References & sources
  1. Apiary Reading RoomOpen, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room