#Istio
The most feature-rich service mesh.
#Installation
bash
istioctl install --set profile=demo
kubectl label namespace default istio-injection=enabled#Traffic Management
yaml
1apiVersion: networking.istio.io/v1alpha3
2kind: VirtualService
3metadata:
4 name: myapp
5spec:
6 hosts:
7 - myapp
8 http:
9 - route:
10 - destination:
11 host: myapp
12 subset: v1
13 weight: 90
14 - destination:
15 host: myapp
16 subset: v2
17 weight: 10#Features
| Feature | Description |
|---|---|
| Traffic splitting | Canary, A/B testing |
| mTLS | Automatic encryption |
| Observability | Kiali, tracing |
| Fault injection | Chaos testing |
[!TIP] Pro Tip: Use Kiali dashboard to visualize your mesh!