Kubernetes Advanced: Service Mesh - Istio by Practice
A service mesh manages the traffic between services in a Kubernetes cluster: routing, retries, encryption, access rules, and telemetry, without changes to application code. This series runs Istio 1.32 on a local Kind cluster with Book Store, an example app built from Istio’s Bookinfo images and deployed with the series’ own manifests.
Each chapter starts from a problem the Book Store team hits, explains the concept behind the fix, applies it step by step, and then breaks it on purpose so you can diagnose and fix the failure. By the end you can deploy and run Istio in your own environment.
What you’ll learn
- What a service mesh solves, and when it is worth the cost
- Install Istio on Kind and add workloads to the mesh
- Expose applications through an Istio ingress gateway with TLS, redirects, and several hosts
- Debug a gateway from the YAML you applied down to the Envoy configuration
- Release new versions with subsets, weighted routing, and header-based routing
- Use timeouts, retries, fault injection, circuit breaking, and outlier detection
- Control traffic that leaves the mesh with ServiceEntry and an egress gateway
- Secure service-to-service traffic with mutual TLS, authorization policies, and JWT
- Observe the mesh with metrics, tracing, and Kiali
- Use the Kubernetes Gateway API with Istio
- Install and upgrade Istio in your own environment with Helm and revisions
Series
- Chapter 1 - What a Service Mesh Solves
- Chapter 2 - Install Istio on Kind and Join the Mesh
- Chapter 3 - Expose an App with an Istio Gateway and a VirtualService
- Chapter 4 - HTTPS, Redirects, and Several Hosts on One Istio Gateway
- Chapter 5 - Debug the Istio Gateway: From YAML to Envoy Config
- Chapter 6 - Release a New Version with Istio: Subsets and Weighted Routing
- Chapter 7 - Route by User and Header with Istio
- Chapter 8 - Timeouts, Retries, and Fault Injection with Istio
- Chapter 9 - Circuit Breaking and Outlier Detection with Istio
- Chapter 10 - Control Traffic Leaving the Mesh: ServiceEntry and the Egress Gateway
- Chapter 11 - Mutual TLS Between Services with Istio
- Chapter 12 - Authorization Policies and JWT at the Istio Gateway
- Chapter 13 - See the Mesh: Metrics, Tracing, and Kiali
- Chapter 14 - The Kubernetes Gateway API with Istio
- Chapter 15 - Deploy Istio in Your Environment: Helm, Revisions, and Canary Upgrades