Das am weitesten verbreitete Service Mesh für Kubernetes.
Installation¶
curl -L https://istio.io/downloadIstio | sh - istioctl install –set profile=demo kubectl label namespace default istio-injection=enabled
Traffic Management¶
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService spec: hosts: [myapp] http: - route: - destination: { host: myapp, subset: v2 } weight: 20 - destination: { host: myapp, subset: v1 } weight: 80
mTLS¶
apiVersion: security.istio.io/v1beta1 kind: PeerAuthentication spec: mtls: { mode: STRICT }
Observability¶
- Kiali — Dashboard
- Jaeger — Tracing
- Grafana — Metriken
istioctl dashboard kiali
Istio für Enterprise¶
Beginnen Sie mit Traffic Management + mTLS und erweitern Sie schrittweise.