linkerd-patterns

Implement Linkerd service mesh patterns on Kubernetes with kubectl and Linkerd CLI.

38.6k|4.1k|Updated Jul 24, 2025
One-click install
npx skills add https://github.com/wshobson/agents --skill linkerd-patterns-wshobson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linkerd-patterns
Source: https://github.com/wshobson/agents/tree/main/plugins/cloud-infrastructure/skills/linkerd-patterns
Command: npx skills add https://github.com/wshobson/agents --skill linkerd-patterns-wshobson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies the implementation and management of advanced Linkerd service mesh patterns, enabling efficient and secure microservice communication.

Core Features & Use Cases

  • Simplified Setup: Provides templates for installing Linkerd and configuring namespaces for automatic sidecar injection.
  • Traffic Management: Offers patterns for canary deployments, A/B testing, and per-route metrics using TrafficSplit and ServiceProfile.
  • Security: Demonstrates how to implement zero-trust networking with Server and ServerAuthorization policies.
  • Use Case: Deploy a new version of your service to 10% of traffic while monitoring its performance against the stable version.

Quick Start

Use the linkerd-patterns skill to install Linkerd on your Kubernetes cluster.

Frequently Asked Questions about linkerd-patterns

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

FAQPage Schema
How do I implement canary deployments using a Linkerd service mesh on Kubernetes?

Canary deployments with Linkerd use TrafficSplit to route a percentage of traffic to new service versions. You can deploy a new version to 10% of traffic and monitor its performance against the stable version using per-route metrics.

How does automatic mTLS work with Linkerd for Kubernetes service mesh security?

Automatic mTLS in Linkerd secures microservice communication by encrypting traffic between meshes automatically. You implement zero-trust networking by configuring Server and ServerAuthorization policies to control access.

What is the best way to set up per-route metrics for microservices with Linkerd?

Per-route metrics are configured using Linkerd ServiceProfile objects. They allow you to define specific routes and monitor traffic patterns, which is essential for evaluating performance during A/B testing or canary releases.

Do I need kubectl and Linkerd CLI to manage traffic splitting in a service mesh?

Yes, you need both kubectl and the Linkerd CLI to install Linkerd and configure traffic splitting. These tools are required to apply TrafficSplit configurations and manage the service mesh on your Kubernetes cluster.

Can I use Linkerd for zero-trust access control in a Kubernetes cluster?

Yes, Linkerd supports zero-trust access control through Server and ServerAuthorization policies. This allows you to define fine-grained permissions for service-to-service communication within your mesh.

How do I configure Kubernetes namespaces for automatic sidecar injection in Linkerd?

You configure namespaces for automatic sidecar injection by applying specific annotations during the Linkerd installation process. This ensures new pods automatically receive the necessary proxy sidecars for mesh integration.