Claude-code-plugins-plus-skills configuring-service-meshes
install
source · Clone the upstream repo
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jeremylongshore/claude-code-plugins-plus-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/devops/service-mesh-configurator/skills/configuring-service-meshes" ~/.claude/skills/jeremylongshore-claude-code-plugins-plus-skills-configuring-service-meshes-de5437 && rm -rf "$T"
manifest:
plugins/devops/service-mesh-configurator/skills/configuring-service-meshes/SKILL.mdsource content
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
with admin permissionskubectl - Service mesh CLI installed:
,istioctl
, orlinkerdconsul - 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
- Select the service mesh based on requirements: Istio for full-featured L7 control, Linkerd for lightweight simplicity, Consul Connect for multi-platform
- Install the control plane:
oristioctl install --set profile=productionlinkerd install | kubectl apply -f - - Enable sidecar injection for target namespaces: label namespaces with
oristio-injection=enabledlinkerd.io/inject=enabled - Configure mTLS: set PeerAuthentication to STRICT mode for zero-trust inter-service communication
- Define traffic management rules: VirtualService for routing, DestinationRule for load balancing and circuit breaking
- Set up traffic splitting for canary deployments: route a percentage of traffic to the new version
- Configure retry policies and timeouts to improve resilience against transient failures
- Integrate observability: connect to Jaeger/Zipkin for distributed tracing, Prometheus for metrics, and Kiali for visualization
- Validate the mesh: verify sidecar injection, mTLS status, and traffic routing with
oristioctl analyzelinkerd 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 |
|---|---|---|
| Namespace not labeled for injection or pod has annotation to skip | Add label to namespace; check pod annotations |
| Mismatched TLS settings between services or missing certificates | Set PeerAuthentication to PERMISSIVE temporarily; check |
| Circuit breaker tripped or upstream connection pool exhausted | Review DestinationRule connection pool settings; increase and |
| VirtualService weight percentages misconfigured | Verify weights sum to 100; check VirtualService is bound to the correct gateway/host |
| 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/