You are picking Linkerd because the team wants a service mesh that uses 10x less memory than Envoy-based meshes, and the install steps from the docs assume a fresh cluster. This article covers what we run on real production clusters — Helm-based install for GitOps, certificate rotation that does not page the on-call at 02:00, and the channel decision (edge vs stable) that nobody warns you matters in two years’ time.
How to verify
The CLI check should report all systems go before and after install:
linkerd check --pre
linkerd check
Each Linkerd control plane component should run as a Deployment in linkerd:
kubectl -n linkerd get deploy
kubectl -n linkerd get pods -o wide
A meshed namespace should carry the inject annotation and pods should have the linkerd-proxy container:
kubectl get ns app -o jsonpath='{.metadata.annotations.linkerd\.io/inject}'
kubectl -n app get pod -o jsonpath='{.items[0].spec.containers[*].name}'
mTLS should be observable end-to-end with the CLI:
linkerd -n app viz edges deploy
What’s happening
Linkerd uses a Rust micro-proxy called linkerd2-proxy instead of Envoy. The data-plane is intentionally narrow — no Lua, no Wasm, no extensible filter chain — which is why it stays small (10-20 MiB per sidecar in steady state) and why the install lacks knobs other meshes have. The control plane is three Deployments: linkerd-destination (xDS-equivalent service discovery + policy), linkerd-identity (cert authority for mTLS — works on top of a trust anchor you provide), and linkerd-proxy-injector (the mutating webhook). The “viz” extension (Prometheus, the linkerd viz CLI commands) and “buoyant-cloud” extension are separate installs.
Linkerd ships two channels: stable is the supported, slower-moving line (versions like stable-2.14.x) historically backed by Buoyant; edge is a faster-moving open-source line (versions like edge-25.4.1) that is the recommended path for anyone not on a paid stable subscription. Edge releases are still production-grade — Linkerd’s testing is rigorous — but the channel is where the project actively lives. Pick the channel intentionally and document it.
The procedure
-
Generate trust anchor and issuer certs. Linkerd’s identity service signs short-lived workload certs from an issuer cert, which is itself signed by a trust anchor you control. Generate both with
step:step certificate create root.linkerd.cluster.local ca.crt ca.key \ --profile root-ca --no-password --insecure step certificate create identity.linkerd.cluster.local issuer.crt issuer.key \ --profile intermediate-ca --not-after 8760h --no-password --insecure \ --ca ca.crt --ca-key ca.keyStore
ca.keyin a vault — it signs the issuer that signs every workload identity.issuer.keyis rotated annually. -
Install via Helm, not the CLI. The CLI installer is fine for a dev cluster; Helm is what survives GitOps:
helm repo add linkerd-edge https://helm.linkerd.io/edge helm repo update kubectl create namespace linkerd \ --dry-run=client -o yaml | kubectl apply -f - kubectl annotate namespace linkerd linkerd.io/inject=disabled --overwrite kubectl label namespace linkerd linkerd.io/is-control-plane=true \ config.linkerd.io/admission-webhooks=disabled \ --overwrite helm install linkerd-crds linkerd-edge/linkerd-crds -n linkerd helm install linkerd-control-plane linkerd-edge/linkerd-control-plane \ -n linkerd \ --set-file identityTrustAnchorsPEM=ca.crt \ --set-file identity.issuer.tls.crtPEM=issuer.crt \ --set-file identity.issuer.tls.keyPEM=issuer.key \ --set identity.issuer.crtExpiry="$(date -u -d '+8760h' +%Y-%m-%dT%H:%M:%SZ)" -
Install the viz extension for observability.
helm install linkerd-viz linkerd-edge/linkerd-viz -n linkerd-viz \ --create-namespaceThe viz extension brings Prometheus, the dashboard, and metrics-api. In production we replace its embedded Prometheus with our central one — see linkerd-traffic-policy-canary for how policy interacts with metrics scraping.
-
Enrol namespaces via annotation.
kubectl annotate namespace app linkerd.io/inject=enabled kubectl -n app rollout restart deploymentVerify the new pods carry the
linkerd-proxycontainer. -
Plan the issuer-cert rotation now, not in 11 months. The default issuer expiry is 1 year. Add a cronjob (or external automation) that rotates it well before expiry. The simplest path is
cert-managerdriving aCertificateresource against the trust anchor — that waylinkerd-identityreads the new pair from a Secret automatically. -
Run
linkerd checkfrom CI. The CLI’s check command is exhaustive — control plane health, CRDs, identity cert validity, webhook readiness. Run it from a CI job at least daily; alert on a non-zero exit.
Common pitfalls
- The default 365-day issuer cert expires and silently breaks mTLS. Workload pods cannot get new identity, new pods fail readiness, and the mesh degrades. Rotate via cert-manager or pre-rotation scripts; alert at 30 days remaining.
linkerd injecton a manifest does not apply config.linkerd.io annotations to running pods. Restart deployments. Skipping this step means a partially-meshed namespace where some pods route through the proxy and some don’t.- The viz dashboard is internal-only by default. Do not expose it via a public ingress without authentication; the dashboard has tap and traffic-injection capabilities. Front it with an OIDC proxy.
- edge channel CRDs move. Pin the chart version and read the changelog before a Helm upgrade. Some edges introduce CRD changes that require
helm upgrade --reuse-valuesplus a CRD-only chart bump first. - Linkerd ignores HostNetwork pods. Anything with
hostNetwork: truebypasses iptables — no mesh, no mTLS, no policy. If you need such pods, document them as out-of-mesh and route via an explicit gateway.
Stack Harbor runs Linkerd for clients where the per-pod memory cost of Envoy was the blocker — including the trust anchor rotation, the viz extension placement, the Prometheus integration with the central observability stack, and the edge-channel upgrade rhythm. If that is the operating model you want, see how we deliver managed Kubernetes operations end to end.