Service Mesh Implementation

Service Mesh Implementation

Guides an AI agent to deploy a service mesh such as Istio or Linkerd for traffic management, mutual TLS, security policies and observability.

Skill files7 files

references/

scripts/

SKILL.md101 lines
1
---
2
name: service-mesh-implementation
3
description: >
4
Implement service mesh (Istio, Linkerd) for service-to-service communication,
5
traffic management, security, and observability.
6
---
7
8
# Service Mesh Implementation
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Deploy and configure a service mesh to manage microservice communication, enable advanced traffic management, implement security policies, and provide comprehensive observability across distributed systems.
21
22
## When to Use
23
24
- Microservice communication management
25
- Cross-cutting security policies
26
- Traffic splitting and canary deployments
27
- Service-to-service authentication
28
- Request routing and retries
29
- Distributed tracing integration
30
- Circuit breaker patterns
31
- Mutual TLS between services
32
33
## Quick Start
34
35
Minimal working example:
36
37
```yaml
38
# istio-setup.yaml
39
apiVersion: v1
40
kind: Namespace
41
metadata:
42
name: istio-system
43
labels:
44
istio-injection: enabled
45
46
---
47
apiVersion: install.istio.io/v1alpha1
48
kind: IstioOperator
49
metadata:
50
name: istio-config
51
namespace: istio-system
52
spec:
53
profile: production
54
revision: "1-13"
55
56
components:
57
pilot:
58
k8s:
59
resources:
60
requests:
61
cpu: 500m
62
memory: 2048Mi
63
// ... (see reference guides for full implementation)
64
```
65
66
## Reference Guides
67
68
Detailed implementations in the `references/` directory:
69
70
| Guide | Contents |
71
|---|---|
72
| [Istio Core Setup](references/istio-core-setup.md) | Istio Core Setup |
73
| [Virtual Service and Destination Rule](references/virtual-service-and-destination-rule.md) | Virtual Service and Destination Rule |
74
| [Security Policies](references/security-policies.md) | Security Policies |
75
| [Observability Configuration](references/observability-configuration.md) | Observability Configuration |
76
| [Service Mesh Deployment Script](references/service-mesh-deployment-script.md) | Service Mesh Deployment Script |
77
78
## Best Practices
79
80
### ✅ DO
81
82
- Enable mTLS for all workloads
83
- Implement proper authorization policies
84
- Use virtual services for traffic management
85
- Enable distributed tracing
86
- Monitor resource usage (CPU, memory)
87
- Use appropriate sampling rates for tracing
88
- Implement circuit breakers
89
- Use namespace isolation
90
91
### ❌ DON'T
92
93
- Disable mTLS in production
94
- Allow permissive traffic policies
95
- Ignore observability setup
96
- Deploy without resource requests/limits
97
- Skip sidecar injection validation
98
- Use 100% sampling in high-traffic systems
99
- Mix service versions without proper routing
100
- Neglect authorization policies
101

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…