Skip to content

jeremylongshore/tons-of-skills-marketplace / plugins/devops/service-mesh-configurator/skills/configuring-service-meshes

configuring-service-meshes

Verified

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.

assets/istio_config_template.yaml

View on GitHub
# istio_config_template.yaml
# Template for generating Istio service mesh configurations.

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: example-value-gateway # Name of the gateway
  namespace: YOUR_NAMESPACE_HERE # Namespace where the gateway is deployed
spec:
  selector:
    istio: ingressgateway # Use Istio's default ingress gateway
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - example-value.example.com # Hostname for your service

---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: example-value-virtual-service # Name of the virtual service
  namespace: YOUR_NAMESPACE_HERE # Namespace where the virtual service is deployed
spec:
  hosts:
  - example-value.example.com # Hostname to route traffic to
  gateways:
  - example-value-gateway # Gateway to use for routing
  http:
  - match:
    - uri:
        prefix: / # Match all URIs
    route:
    - destination:
        host: example-value-service # Name of the service to route to
        port:
          number: 8080 # Port of the service

---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: example-value-destination-rule # Name of the destination rule
  namespace: YOUR_NAMESPACE_HERE # Namespace where the destination rule is deployed
spec:
  host: example-value-service # Name of the service
  trafficPolicy:
    loadBalancer:
      simple: ROUND_ROBIN # Load balancing policy. Options: ROUND_ROBIN, LEAST_CONN, RANDOM, PASSTHROUGH
    # Optional: Configure TLS settings
    # tls:
    #   mode: ISTIO_MUTUAL # Use Istio mutual TLS

---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: example-value-authz-policy # Name of the authorization policy
  namespace: YOUR_NAMESPACE_HERE # Namespace where the authorization policy is deployed
spec:
  selector:
    matchLabels:
      app: example-value-service # Apply the policy to the service
  action: ALLOW # Default action: ALLOW or DENY
  # Optional: Add rules for specific requests
  # rules:
  # - from:
  #   - source:
  #       principals: ["cluster.local/ns/YOUR_NAMESPACE_HERE/sa/YOUR_SERVICE_ACCOUNT_HERE"] # Allow requests from a specific service account
  #   to:
  #   - operation:
  #       methods: ["GET", "POST"] # Allow only GET and POST methods
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall