ワンクリックで
service-mesh
Service mesh infrastructure for microservices communication, observability, and traffic management
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Service mesh infrastructure for microservices communication, observability, and traffic management
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Building autonomous AI agents capable of reasoning, planning, and executing multi-step tasks
Learning from a small number of examples per class using metric learning and meta-learning
Techniques and frameworks for generating new data instances that match the distribution of training data
Advanced techniques for training and fine-tuning transformer-based language models at scale
Foundational understanding and practical implementation of transformer-based language models
Integrating and reasoning across multiple data modalities including text, images, audio, and video
| name | service-mesh |
| description | Service mesh infrastructure for microservices communication, observability, and traffic management |
| license | MIT |
| compatibility | ["istio","linkerd","consul-connect","osm"] |
| audience | Platform engineers, DevOps engineers, cloud architects |
| category | cloud-computing |
I provide expertise in service mesh technology - a dedicated infrastructure layer that handles service-to-service communication, providing capabilities like traffic management, security, and observability without requiring changes to application code. I cover service mesh implementation with popular platforms like Istio and Linkerd, including traffic routing, load balancing, security policies, and troubleshooting methodologies for distributed microservices architectures.
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: reviews-route
spec:
hosts:
- reviews
http:
- match:
- headers:
user-agent:
regex: ".*Mobile.*"
route:
- destination:
host: reviews
subset: v2
weight: 100
- route:
- destination:
host: reviews
subset: v1
weight: 80
- destination:
host: reviews
subset: v2
weight: 20
- fault:
delay:
percentage:
value: 0.1
fixedDelay: 5s
route:
- destination:
host: reviews
subset: v1
apiVersion: linkerd.io/v1alpha2
kind: ServiceProfile
metadata:
name: api-service.namespace.svc.cluster.local
spec:
routes:
- name: GET /api/users
isRetryable: true
timeout: 300ms
retryBudget:
minRetriesPerSecond: 10
retryRatio: 0.2
condition:
method: GET
pathRegex: "/api/users"
- name: POST /api/orders
isRetryable: false
timeout: 5s
condition:
method: POST
pathRegex: "/api/orders"
dstOverrides:
- authority: api-service.namespace.svc.cluster.local
weight: 1
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
name: product-page-dr
spec:
host: product-page
trafficPolicy:
connectionPool:
tcp:
maxConnections: 100
http:
h2UpgradePolicy: UPGRADE
http1MaxPendingRequests: 100
http2MaxRequests: 1000
loadBalancer:
simple: LEAST_REQUEST
localityLbSetting:
enabled: true
distribute:
- from: "us-east/*"
to:
"us-east/*": 80
"us-west/*": 20
tls:
mode: ISTIO_MUTUAL
subjectAltNames:
- "product-page.namespace.svc.cluster.local"
outlierDetection:
consecutive5xxErrors: 5
interval: 30s
baseEjectionTime: 30s
maxEjectionPercent: 50
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: backend-authz
namespace: production
spec:
action: ALLOW
rules:
- from:
- source:
principals: ["cluster.local/ns/frontend/sa/frontend-sa"]
- source:
namespaces: ["frontend"]
to:
- operations:
- methods: ["GET", "POST"]
paths: ["/api/v1/protected/*"]
when:
- key: request.auth.claims[role]
values: ["user", "admin"]
- from:
- source:
principals: ["cluster.local/ns/monitoring/sa/prometheus"]
to:
- operations:
- methods: ["GET"]
paths: ["/metrics", "/health"]
action: ALLOW
- to:
- operations:
- methods: ["*"]
action: DENY
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: default-mtls
namespace: istio-system
spec:
mtls:
mode: STRICT
---
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: permissive-mtls
namespace: production
spec:
mtls:
mode: PERMISSIVE
---
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: legacy-mtls
namespace: legacy-apps
spec:
mtls:
mode: DISABLE
apiVersion: split.smi-spec.io/v1alpha2
kind: TrafficSplit
metadata:
name: api-canary
namespace: default
spec:
service: api-service
backends:
- service: api-service-v1
weight: 95
- service: api-service-v2
weight: 5
apex:
service: api-service
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: ingress-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE
credentialName: wildcard-tls-secret
hosts:
- "*.example.com"
- port:
number: 8443
name: https-mtls
protocol: HTTPS
tls:
mode: MUTUAL
credentialName: mtls-gateway-secret
caCertificates: /etc/istio/ingressgateway-certs/ca.crt
hosts:
- "internal.example.com"