linkerd-patterns

Implement Linkerd service mesh patterns for Kubernetes traffic management and mTLS security.

Updated May 8, 2026
One-click install
npx skills add https://github.com/kiprotichgidii/agent-skills --skill linkerd-patterns-kiprotichgidii
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: linkerd-patterns
Source: https://github.com/kiprotichgidii/agent-skills/tree/main/skills/linkerd-patterns
Command: npx skills add https://github.com/kiprotichgidii/agent-skills --skill linkerd-patterns-kiprotichgidii

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a service mesh with Linkerd involves many moving parts—control plane installation, proxy injection, traffic policies, and authorization rules. This Skill provides production-ready templates and commands so you can configure Linkerd correctly without piecing together documentation. ## Core Features & Use Cases - Mesh Installation & Injection: Step-by-step commands to install the Linkerd control plane, validate clusters, and enable automatic sidecar proxy injection for namespaces or deployments. - Traffic Management: Templates for ServiceProfiles with per-route retries and timeouts, TrafficSplits for canary deployments, and HTTPRoutes for header- and path-based routing. - Zero-Trust Security: Server and ServerAuthorization policies for mTLS-based access control, plus multi-cluster setup for cross-cluster service communication. - Use Case: You want to roll out a new version of a microservice to 10% of traffic. Use the TrafficSplit template to shift weights between stable and canary backends, then monitor per-route success rates with linkerd viz routes. ## Quick Start Ask the AI to generate a Linkerd ServiceProfile with retry budgets and a canary TrafficSplit for your Kubernetes service.

Frequently Asked Questions about linkerd-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a canary deployment with Linkerd TrafficSplit?▼

Create a TrafficSplit resource pointing to your root service with weighted backends, such as 900m for stable and 100m for canary. Linkerd shifts traffic proportionally, and you can adjust weights progressively while monitoring success rates with linkerd viz routes.

How to configure retries and timeouts in Linkerd?▼

Define a ServiceProfile for your service with routes specifying isRetryable and timeout fields per route. Add a retryBudget with retryRatio, minRetriesPerSecond, and ttl to prevent retry storms from overwhelming backends.

Does Linkerd enable mTLS automatically between services?▼

Yes, Linkerd automatically enables mutual TLS for all meshed pod-to-pod communication once proxies are injected. You can then layer ServerAuthorization policies on top to control which service accounts may reach specific servers.

Linkerd vs Istio for Kubernetes service mesh?▼

Linkerd is a lightweight, security-first mesh with automatic mTLS and minimal configuration, using a Rust-based micro-proxy. It suits teams wanting low operational overhead, while Istio offers broader configurability at higher complexity.

Why is linkerd check failing after installation?▼

Common causes include missing CRDs, insufficient cluster permissions, or pods not yet ready in the linkerd namespace. Run linkerd check --pre before installing and linkerd check --proxy afterward to diagnose injection and data plane issues.