Commands Cheat Sheet

Evaluating engineering tools? Get the comparison in Google Sheets

(Perfect for making buy/build decisions or internal reviews.)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Installation & Setup

Check prerequisites
linkerd check --pre

Install Linkerd control plane
linkerd install | kubectl apply -f -

Verify installation
linkerd check

Upgrade Linkerd
linkerd upgrade | kubectl apply -f -

Mesh Injection

Inject proxy into existing resources
kubectl get deploy -o yaml | linkerd inject - | kubectl apply -f -

Inject proxy on new deployment
linkerd inject deployment.yaml | kubectl apply -f -

Annotate namespace for auto-injection
kubectl annotate namespace linkerd.io/inject=enabled

Status & Diagnostics

Check all components health
linkerd check

Show mesh version
linkerd version

Debug connection issues
linkerd diagnostics

Show proxy stats
linkerd stat

Show top routes
linkerd top

Traffic Management

View service routes
linkerd routes

Check tap live requests
linkerd tap

Visualize traffic flow
linkerd viz dashboard

Service Profiles

Generate service profile
linkerd profile -n > profile.yaml

Apply service profile
kubectl apply -f profile.yaml

Viz Dashboard

Open dashboard
linkerd viz dashboard

Install viz extension
linkerd viz install | kubectl apply -f -

Check viz extension
linkerd viz check

Multi-cluster

Link clusters
linkerd multicluster link --cluster-name | kubectl apply -f -

Check multi-cluster status
linkerd multicluster check

List linked clusters
linkerd multicluster gateways