configuring-service-meshes

Configure this skill configures service meshes like istio and linkerd for microservices. it generates production-ready configurations, implements best practices, and ensures a security-first approach. use this skill when the user asks to "configure service ... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1,868 stars

Best use case

configuring-service-meshes is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Configure this skill configures service meshes like istio and linkerd for microservices. it generates production-ready configurations, implements best practices, and ensures a security-first approach. use this skill when the user asks to "configure service ... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

Teams using configuring-service-meshes should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/configuring-service-meshes/SKILL.md --create-dirs "https://raw.githubusercontent.com/jeremylongshore/claude-code-plugins-plus-skills/main/plugins/devops/service-mesh-configurator/skills/configuring-service-meshes/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/configuring-service-meshes/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How configuring-service-meshes Compares

Feature / Agentconfiguring-service-meshesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Configure this skill configures service meshes like istio and linkerd for microservices. it generates production-ready configurations, implements best practices, and ensures a security-first approach. use this skill when the user asks to "configure service ... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Configuring Service Meshes

## Overview

Configure service meshes (Istio, Linkerd, Consul Connect) for Kubernetes microservices architectures. Generate mTLS configurations, traffic management rules (routing, splitting, mirroring), observability integrations (distributed tracing, metrics), and resilience patterns (retries, circuit breakers, timeouts).

## Prerequisites

- Kubernetes cluster accessible via `kubectl` with admin permissions
- Service mesh CLI installed: `istioctl`, `linkerd`, or `consul`
- Helm 3+ for service mesh installation charts
- Understanding of microservice communication patterns and dependencies
- Observability backend available (Jaeger, Zipkin, or Prometheus/Grafana) for tracing and metrics

## Instructions

1. Select the service mesh based on requirements: Istio for full-featured L7 control, Linkerd for lightweight simplicity, Consul Connect for multi-platform
2. Install the control plane: `istioctl install --set profile=production` or `linkerd install | kubectl apply -f -`
3. Enable sidecar injection for target namespaces: label namespaces with `istio-injection=enabled` or `linkerd.io/inject=enabled`
4. Configure mTLS: set PeerAuthentication to STRICT mode for zero-trust inter-service communication
5. Define traffic management rules: VirtualService for routing, DestinationRule for load balancing and circuit breaking
6. Set up traffic splitting for canary deployments: route a percentage of traffic to the new version
7. Configure retry policies and timeouts to improve resilience against transient failures
8. Integrate observability: connect to Jaeger/Zipkin for distributed tracing, Prometheus for metrics, and Kiali for visualization
9. Validate the mesh: verify sidecar injection, mTLS status, and traffic routing with `istioctl analyze` or `linkerd check`

## Output

- Service mesh installation manifests or Helm values
- PeerAuthentication and AuthorizationPolicy manifests for mTLS and RBAC
- VirtualService and DestinationRule manifests for traffic management
- ServiceEntry manifests for external service access
- Observability integration configuration (Jaeger, Prometheus, Kiali)

## Error Handling

| Error | Cause | Solution |
|-------|-------|---------|
| `sidecar not injected` | Namespace not labeled for injection or pod has annotation to skip | Add `istio-injection=enabled` label to namespace; check pod annotations |
| `mTLS handshake failed` | Mismatched TLS settings between services or missing certificates | Set PeerAuthentication to PERMISSIVE temporarily; check `istioctl proxy-status` |
| `503 Service Unavailable` | Circuit breaker tripped or upstream connection pool exhausted | Review DestinationRule connection pool settings; increase `maxConnections` and `http2MaxRequests` |
| `traffic not splitting correctly` | VirtualService weight percentages misconfigured | Verify weights sum to 100; check VirtualService is bound to the correct gateway/host |
| `high latency after mesh install` | Sidecar proxy adding overhead or misconfigured timeouts | Tune proxy resources; review timeout settings; check if services are using HTTP/2 |

## Examples

- "Install Istio with strict mTLS on a production cluster and configure a VirtualService for canary routing: 90% to v1, 10% to v2."
- "Set up Linkerd on a microservices cluster with automatic retries (3 attempts, 500ms timeout) and integrate with Prometheus for golden signal metrics."
- "Configure an Istio AuthorizationPolicy that allows only the frontend service to call the API gateway, blocking all other inter-service traffic."

## Resources

- Istio documentation: https://istio.io/latest/docs/
- Linkerd documentation: https://linkerd.io/2/overview/
- Consul Connect: https://developer.hashicorp.com/consul/docs/connect
- Kiali (service mesh observability): https://kiali.io/docs/

Related Skills

tracking-service-reliability

1868
from jeremylongshore/claude-code-plugins-plus-skills

Define and track SLAs, SLIs, and SLOs for service reliability including availability, latency, and error rates. Use when establishing reliability targets or monitoring service health. Trigger with phrases like "define SLOs", "track SLI metrics", or "calculate error budget".

configuring-load-balancers

1868
from jeremylongshore/claude-code-plugins-plus-skills

Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy. Trigger with phrases like "configure load balancer", "create ALB", "setup nginx load balancing", or "haproxy configuration". Generates production-ready configurations with health checks, SSL termination, sticky sessions, and traffic distribution rules.

configuring-auto-scaling-policies

1868
from jeremylongshore/claude-code-plugins-plus-skills

Configure use when you need to work with auto-scaling. This skill provides auto-scaling configuration with comprehensive guidance and automation. Trigger with phrases like "configure auto-scaling", "set up elastic scaling", or "implement scaling".

generating-grpc-services

1868
from jeremylongshore/claude-code-plugins-plus-skills

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".

service-account-manager

1868
from jeremylongshore/claude-code-plugins-plus-skills

Service Account Manager - Auto-activating skill for GCP Skills. Triggers on: service account manager, service account manager Part of the GCP Skills skill category.

cloud-run-service-config

1868
from jeremylongshore/claude-code-plugins-plus-skills

Cloud Run Service Config - Auto-activating skill for GCP Skills. Triggers on: cloud run service config, cloud run service config Part of the GCP Skills skill category.

grpc-service-generator

1868
from jeremylongshore/claude-code-plugins-plus-skills

Grpc Service Generator - Auto-activating skill for Backend Development. Triggers on: grpc service generator, grpc service generator Part of the Backend Development skill category.

kubernetes-service-manager

1868
from jeremylongshore/claude-code-plugins-plus-skills

Kubernetes Service Manager - Auto-activating skill for DevOps Advanced. Triggers on: kubernetes service manager, kubernetes service manager Part of the DevOps Advanced skill category.

istio-service-mesh-config

1868
from jeremylongshore/claude-code-plugins-plus-skills

Istio Service Mesh Config - Auto-activating skill for DevOps Advanced. Triggers on: istio service mesh config, istio service mesh config Part of the DevOps Advanced skill category.

consul-service-discovery

1868
from jeremylongshore/claude-code-plugins-plus-skills

Consul Service Discovery - Auto-activating skill for DevOps Advanced. Triggers on: consul service discovery, consul service discovery Part of the DevOps Advanced skill category.

schema-optimization-orchestrator

1868
from jeremylongshore/claude-code-plugins-plus-skills

Multi-phase schema optimization workflow orchestrator. Creates session directories, spawns phase agents sequentially, validates outputs, aggregates results. Trigger: "run schema optimization", "optimize schema workflow", "execute schema phases"

test-skill

1868
from jeremylongshore/claude-code-plugins-plus-skills

Test skill for E2E validation. Trigger with "run test skill" or "execute test". Use this skill when testing skill activation and tool permissions.