协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
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…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: configuring-service-meshes description: '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.
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*) version: 1.24.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
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).
kubectl with admin permissionsistioctl, linkerd, or consulistioctl install --set profile=production or linkerd install | kubectl apply -f -istio-injection=enabled or linkerd.io/inject=enabledistioctl analyze or linkerd check| 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 |