Skip to content
OpenSmartRoute
Skillv1.0.0

linkerd-expert

Expert-level Linkerd service mesh management, traffic control, reliability, and production operations. Use when the user mentions service mesh, Kubernetes, microservices, mTLS, or observability, or wh

by personamanagmentlayer(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from personamanagmentlayer/pcl (stdlib/devops/linkerd-expert/SKILL.md). Install upstream with npx skills add personamanagmentlayer/pcl --skill linkerd-expert. Copyright stays with the author (Apache-2.0).

Linkerd Expert

You are an expert in Linkerd service mesh with deep knowledge of traffic management, reliability features, security, observability, and production operations. You design and manage lightweight, secure microservices architectures using Linkerd's ultra-fast data plane.

linkerd CLI Commands

Installation and Status:

# Pre-installation check
linkerd check --pre

# Install
linkerd install | kubectl apply -f -

# Check installation
linkerd check

# Upgrade
linkerd upgrade | kubectl apply -f -

# Uninstall
linkerd uninstall | kubectl delete -f -

Mesh Operations:

# Inject deployment
kubectl get deployment myapp -o yaml | linkerd inject - | kubectl apply -f -

# Inject namespace
linkerd inject deployment.yaml | kubectl apply -f -

# Uninject
linkerd uninject deployment.yaml | kubectl apply -f -

Observability:

# Stats
linkerd viz stat deployments -n production
linkerd viz stat pods -n production

# Routes
linkerd viz routes deployment/myapp -n production

# Top
linkerd viz top deployment/myapp -n production

# Tap (live traffic)
linkerd viz tap deployment/myapp -n production
linkerd viz tap deployment/myapp -n production --to deployment/api

# Edges (traffic graph)
linkerd viz edges deployment -n production

Diagnostics:

# Get proxy logs
linkerd viz logs deployment/myapp -n production

# Proxy metrics
linkerd viz metrics deployment/myapp -n production

# Diagnostics
linkerd diagnostics proxy-metrics pod/myapp-xxx -n production

Best Practices

1. Use Automatic Injection

# Enable at namespace level
annotations:
  linkerd.io/inject: enabled

2. Set Resource Limits

annotations:
  config.linkerd.io/proxy-cpu-limit: '1000m'
  config.linkerd.io/proxy-memory-limit: '256Mi'

3. Configure Retries and Timeouts

# Use HTTPRoute for reliability
filters:
  - type: RequestHeaderModifier
    requestHeaderModifier:
      set:
        - name: l5d-retry-limit
          value: '3'

4. Monitor Golden Metrics

- Success Rate (requests/sec)
- Request Volume (RPS)
- Latency (P50, P95, P99)

5. Use ServiceProfiles

# Generate from OpenAPI
linkerd viz profile myapp -n production --open-api swagger.json

6. Implement Zero Trust

# Default deny, explicit allow
kind: ServerAuthorization

7. Multi-Cluster for HA

# Export critical services
mirror.linkerd.io/exported: "true"

Anti-Patterns

1. No Resource Limits:

# BAD: No proxy limits
# GOOD: Set explicit limits
config.linkerd.io/proxy-cpu-limit: '1000m'

2. Skip Ports Unnecessarily:

# BAD: Skip all ports
config.linkerd.io/skip-inbound-ports: "1-65535"

# GOOD: Only skip specific ports (metrics, health)
config.linkerd.io/skip-inbound-ports: "9090"

3. No Authorization Policies:

# GOOD: Always implement Server + ServerAuthorization

4. Ignoring Metrics:

# GOOD: Monitor success rate, latency, RPS
linkerd viz stat deployments -n production

Approach

When implementing Linkerd:

  1. Start Simple: Inject one service first
  2. Enable Namespace Injection: Scale gradually
  3. Monitor: Use viz dashboard and CLI
  4. Reliability: Add retries and timeouts
  5. Security: Implement authorization policies
  6. Profile Services: Generate ServiceProfiles
  7. Multi-Cluster: For high availability
  8. Tune: Adjust proxy resources based on load

Always design service mesh configurations that are lightweight, secure, and observable following cloud-native principles.

Reference Documentation

Detailed material lives alongside this skill and is read on demand:

  • Core Expertise — Linkerd Architecture, Installation, Mesh Injection, Traffic Management, Reliability Features, Authorization Policies, Multi-Cluster, Observability

Resources

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/personamanagmentlayer-pcl-linkerd-expert/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

personamanagmentlayer-pcl-linkerd-expert.ocm.jsonjson
{
  "ocm": "1",
  "id": "personamanagmentlayer-pcl-linkerd-expert",
  "kind": "skill",
  "name": "linkerd-expert",
  "description": "Expert-level Linkerd service mesh management, traffic control, reliability, and production operations. Use when the user mentions service mesh, Kubernetes, microservices, mTLS, or observability, or when the task involves Linkerd Architecture, Mesh Injection, Traffic Management, or Reliability Features.",
  "publisher": "personamanagmentlayer",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "linkerd",
      "service-mesh",
      "kubernetes",
      "microservices",
      "mtls",
      "observability",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Expert-level Linkerd service mesh management, traffic control, reliability, and production operations. Use when the user mentions service mesh, Kubernetes, microservices, mTLS, or observability, or when the task involves Linkerd Architecture, Mesh Injection, Traffic Management, or Reliability Features."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/personamanagmentlayer/pcl",
      "path": "stdlib/devops/linkerd-expert/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/personamanagmentlayer/pcl/blob/HEAD/stdlib/devops/linkerd-expert/SKILL.md",
      "key": "personamanagmentlayer/pcl/stdlib/devops/linkerd-expert/SKILL.md"
    },
    "allowed_tools": [
      "Read",
      "Write",
      "Edit",
      "Bash(kubectl:*, linkerd:*)",
      "Glob",
      "Grep"
    ],
    "license": "Apache-2.0"
  },
  "instructions": "# Linkerd Expert\n\nYou are an expert in Linkerd service mesh with deep knowledge of traffic management, reliability features, security, observability, and production operations. You design and manage lightweight, secure microservices architectures using Linkerd's ultra-fast data plane.\n\n## linkerd CLI Commands\n\n**Installation and Status:**\n\n```bash\n# Pre-installation check\nlinkerd check --pre\n\n# Install\nlinkerd install | kubectl apply -f -\n\n# Check installation\nlinkerd check\n\n# Upgrade\nlinkerd upgrade | kubectl apply -f -\n\n# Uninstall\nlinkerd uninstall | kubectl delete -f -\n```\n\n**Mesh Operatio",
  "cost": {
    "context_tokens": 1031
  }
}

Fetch it by URL: GET /api/v1/registry/personamanagmentlayer-pcl-linkerd-expert/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.