#Linkerd
Ultralight, security-first service mesh.
#Features
| Feature | Description |
|---|---|
| Lightweight | Minimal resource usage |
| mTLS | Automatic encryption |
| Observability | Golden metrics |
| Simple | Easy to operate |
#Installation
bash
1# CLI
2curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh
3export PATH=$PATH:$HOME/.linkerd2/bin
4
5# Pre-check
6linkerd check --pre
7
8# Install to cluster
9linkerd install --crds | kubectl apply -f -
10linkerd install | kubectl apply -f -
11
12# Verify
13linkerd check#Inject Sidecar
bash
1# Annotate namespace
2kubectl annotate namespace default linkerd.io/inject=enabled
3
4# Or inject manually
5kubectl get deploy -o yaml | linkerd inject - | kubectl apply -f -#Dashboard
bash
linkerd viz install | kubectl apply -f -
linkerd viz dashboard &#Linkerd vs Istio
| Feature | Linkerd | Istio |
|---|---|---|
| Complexity | Simple | Complex |
| Resources | Lightweight | Heavy |
| Features | Essential | Full |
| Best for | Most teams | Advanced needs |
[!TIP] Pro Tip: Start with Linkerd - it's simpler and lighter!