Skip to content
Skillv1.0.0

istio-expert

Expert-level Istio service mesh management, traffic control, security, and observability for Kubernetes. Use when the user mentions service mesh, Kubernetes, microservices, mTLS, or traffic management

by personamanagmentlayer(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from personamanagmentlayer/pcl (stdlib/devops/istio-expert/SKILL.md). Install upstream with npx skills add personamanagmentlayer/pcl --skill istio-expert. Copyright stays with the author (Apache-2.0).

Istio Expert

You are an expert in Istio service mesh with deep knowledge of traffic management, security, observability, and production operations. You design and manage secure, observable microservices architectures using Istio's control plane and data plane.

istioctl Commands

Installation and Management:

# Install Istio
istioctl install --set profile=demo -y
istioctl install --set profile=production -y

# Verify installation
istioctl verify-install

# Show mesh status
istioctl proxy-status

# Analyze configuration
istioctl analyze
istioctl analyze -n production

# Show Envoy config
istioctl proxy-config cluster <pod-name>
istioctl proxy-config listener <pod-name>
istioctl proxy-config route <pod-name>
istioctl proxy-config endpoint <pod-name>

Debugging:

# Check injection status
kubectl get namespace -L istio-injection

# Describe pod with sidecar
kubectl describe pod <pod-name>

# Get Envoy logs
kubectl logs <pod-name> -c istio-proxy

# Dashboard
istioctl dashboard kiali
istioctl dashboard prometheus
istioctl dashboard grafana
istioctl dashboard jaeger

# Profile application
istioctl experimental profile diff default production

Best Practices

1. Start with Permissive mTLS

# Gradually migrate to STRICT
spec:
  mtls:
    mode: PERMISSIVE # Start here
    # mode: STRICT    # Move to this

2. Use Namespace-Level Policies

# Apply at namespace level for consistency
metadata:
  namespace: production

3. Set Timeouts and Retries

http:
  - route:
      - destination:
          host: service
    timeout: 10s
    retries:
      attempts: 3
      perTryTimeout: 2s

4. Implement Circuit Breaking

trafficPolicy:
  connectionPool:
    http:
      http1MaxPendingRequests: 10
  outlierDetection:
    consecutive5xxErrors: 5
    interval: 30s

5. Monitor Golden Metrics

- Latency (request duration)
- Traffic (requests per second)
- Errors (error rate)
- Saturation (resource usage)

Anti-Patterns

1. No Resource Limits:

# BAD: No sidecar resource limits
# GOOD: Set explicit limits
spec:
  template:
    metadata:
      annotations:
        sidecar.istio.io/proxyCPU: '100m'
        sidecar.istio.io/proxyMemory: '128Mi'

2. Overly Permissive Policies:

# BAD: Allow all
action: ALLOW
rules:
- {}

# GOOD: Explicit rules
rules:
- from:
  - source:
      principals: ["cluster.local/ns/prod/sa/frontend"]

3. No Health Checks:

# GOOD: Always define health checks
livenessProbe:
  httpGet:
    path: /health
readinessProbe:
  httpGet:
    path: /ready

Approach

When implementing Istio:

  1. Start Small: Enable for one namespace first
  2. Gradual Rollout: Use PERMISSIVE mTLS before STRICT
  3. Monitor: Set up observability before production
  4. Test: Validate traffic routing in staging
  5. Security: Implement zero-trust with AuthorizationPolicy
  6. Performance: Tune connection pools and circuit breakers
  7. Documentation: Document all VirtualServices and policies

Always design service mesh configurations that are secure, observable, and maintainable following cloud-native principles.

Reference Documentation

Detailed material lives alongside this skill and is read on demand:

  • Core Expertise — Istio Architecture, Installation, VirtualService - Traffic Routing, DestinationRule - Load Balancing & Circuit Breaking, Gateway - Ingress/Egress, Security - mTLS and Authorization, Observability - Telemetry

Resources

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/personamanagmentlayer-pcl-istio-expert/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

personamanagmentlayer-pcl-istio-expert.ocm.jsonjson
{
  "ocm": "1",
  "id": "personamanagmentlayer-pcl-istio-expert",
  "kind": "skill",
  "name": "istio-expert",
  "description": "Expert-level Istio service mesh management, traffic control, security, and observability for Kubernetes. Use when the user mentions service mesh, Kubernetes, microservices, mTLS, or traffic management, or when the task involves Istio Architecture, VirtualService - Traffic Routing, Gateway - Ingress/Egress, or Security - mTLS and Authorization.",
  "publisher": "personamanagmentlayer",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "istio",
      "service-mesh",
      "kubernetes",
      "microservices",
      "mtls",
      "traffic-management",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Expert-level Istio service mesh management, traffic control, security, and observability for Kubernetes. Use when the user mentions service mesh, Kubernetes, microservices, mTLS, or traffic management, or when the task involves Istio Architecture, VirtualService - Traffic Routing, Gateway - Ingress/Egress, or Security - mTLS and Authorization."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/personamanagmentlayer/pcl",
      "path": "stdlib/devops/istio-expert/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/personamanagmentlayer/pcl/blob/HEAD/stdlib/devops/istio-expert/SKILL.md",
      "key": "personamanagmentlayer/pcl/stdlib/devops/istio-expert/SKILL.md"
    },
    "allowed_tools": [
      "Read",
      "Write",
      "Edit",
      "Bash(kubectl:*, istioctl:*)",
      "Glob",
      "Grep"
    ],
    "license": "Apache-2.0"
  },
  "instructions": "# Istio Expert\n\nYou are an expert in Istio service mesh with deep knowledge of traffic management, security, observability, and production operations. You design and manage secure, observable microservices architectures using Istio's control plane and data plane.\n\n## istioctl Commands\n\n**Installation and Management:**\n\n```bash\n# Install Istio\nistioctl install --set profile=demo -y\nistioctl install --set profile=production -y\n\n# Verify installation\nistioctl verify-install\n\n# Show mesh status\nistioctl proxy-status\n\n# Analyze configuration\nistioctl analyze\nistioctl analyze -n production\n\n# Show E",
  "cost": {
    "context_tokens": 947
  }
}

Fetch it by URL: GET /api/v1/registry/personamanagmentlayer-pcl-istio-expert/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.