This lab explores seven traffic management features with the Istio service mesh.
… Service Mesh, a dedicated infrastructure layer to run fast, reliable and secure network of microservices, container orchestration systems to provide a higher level of deployment infrastructure abstraction, and evolution of continuous delivery systems [sic] to build, test and deploy microservices as containers. – Zhamak Dehghani
A significant feature in Istio provides you the ability to control traffic of messages between services by submitting rules coded in declarative manifests (YAMLs). With this lab, you can teach yourself these traffic management features by experimenting with each declaration and observing the behaviors.
In this lab, you will learn about these traffic management features:
Traffic Management | Feature |
---|---|
Request Routing | Route requests dynamically to multiple versions of a microservice. |
Fault Injection | Inject faults to test the resiliency of your application. |
Traffic Shifting | Migrate traffic from one version of a microservice to another (OSI Layer 7). |
Traffic Shifting TCP | Migrate TCP traffic from one version of a microservice to another (OSI Layer 5). |
Request Timeouts | Request service timeouts to services. |
Circuit Breaking | Configure circuit breaking for connections, requests, and outlier detection. |
Mirroring | Send a single request to multiple services. |
After the installation steps, each traffic feature step is modular, so you can choose the individual steps that most interest you and skip over others.
If you compare the instructions in this lab with the Istio documentation on these features, you will see that they are virtually the same. This is intentional, as the Istio documentation is well-written and this lab provides a direct, hands-on way to experience the features. Another helpful background page is Traffic Management .
Beginner
40 minutes
31 Dec, 2021